A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/query_level
Name: query_level - get the level from a living
Syntax:
#include <levels.h>
int query_level()
Description:
The query_level call returns the current level of a player. Possible
defines for levels are listed in /include/levels.h and should be
used to stay compatible.
Return value: An integer specifying the level of the living
Examples:
int level;
level=this_player()->query_level();
if (level > LEVEL_WIZARD) /* some specific action */
See also:
This page was generated in LPC
Imprint / Impressum