crxranks_get_user_xp

Returns the amount of XP that the client has.

Syntax

native crxranks_get_user_xp(id) /** * Returns the vault name set in the plugin's configuration file. * * @param buffer Buffer to store the vault name in. * @param len Maximum buffer length. * @noreturn */ native crxranks_get_vault_name(buffer[], len) /** * Returns the VIP flags set in the plugin's configuration file. * * @param buffer Buffer to store the flags in. * @param len Maximum buffer length. * @return Flags as bit value. */ native crxranks_get_vip_flags(buffer[] = "", len = 0) /** * Returns the amount of XP required for a specific level. * * @param level Level number. * @return -1 if the level is out of range, XP required for that level otherwise. */ native crxranks_get_xp_for_level(level) /** * Returns the XP reward that the client will get in a specific sitaution.

Usage

id Client index.

Return

Client's current XP.

Defined in crxranks.inc at line 161 . This documentation was automatically generated from source.