crxranks_give_user_xp
Gives a specific amount of XP to the client.
Syntax
native crxranks_give_user_xp(id, amount = 0, reward[] = "", CRXRanks_XPSources:source = CRXRANKS_XPS_PLUGIN) /** * Checks if the client has HUD information enabled. * * @param id Client index. * @return True if he has, false otherwise. */ native bool:crxranks_has_user_hudinfo(id) /** * Checks if the HUD info system is using DHUD messages. * * @return True if it is, false otherwise. */ native bool:crxranks_is_hi_using_dhud() /** * Checks if the HUD information system is enabled. * * @return True if it is, false otherwise. */ native bool:crxranks_is_hud_enabled() /** * Checks if the screen fade when a client loses a level is enabled. * * @return True if it is, false otherwise. */ native bool:crxranks_is_sfdn_enabled()
Usage
| id | Client index. |
| amount | XP amount. |
| reward | Reward keyword. |
| source | XP source. |
Return
Amount — of XP given.
Notes
If the "reward" parameter is set, the plugin will ignore the amount set
Defined in
crxranks.inc
at line 211
.
This documentation was automatically generated from source.