crxranks_get_vip_flags
Returns the VIP flags set in the plugin's configuration file.
Syntax
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. * * @param id Client index. * @param reward Reward keyword. * @return XP reward that the client will get. */ native crxranks_get_xp_reward(id, reward[]) /** * Gives a specific amount of XP to the client. * * @note If the "reward" parameter is set, the plugin will ignore the amount set * in the "amount" parameter and will attempt to give the XP set in the * configuration file by the specific keyword set in the "reward" parameter. * * @param id Client index. * @param amount XP amount. * @param reward Reward keyword. * @param source XP source.
Usage
| buffer | Buffer to store the flags in. |
| len | Maximum buffer length. |
Return
Flags — as bit value.
Defined in
crxranks.inc
at line 179
.
This documentation was automatically generated from source.