rsu_give_user_xp
Gives specific amount of XP to the client.
Syntax
native rsu_give_user_xp(index, amount = 0) /** * Gives specific amount of XP to the specific team. * * @param team 0 - None, 1 - Terrorists, 2 - CTs, 3 - Spectators * @param amount XP amount. * @return Amount of XP. * */ native rsu_give_team_xp(team = 0, amount = 0) /** * Checks if client's stats are loaded. * * @param index Client index. * @return True if client's stats are loaded, false otherwise. * */ native rsu_is_level_loaded(index) /** * Resets all stats from MySQL table. * * @noreturn * */ native rsu_reset_stats()
Usage
| index | Client index. |
| amount | XP amount. |
Return
Amount — of XP.
Defined in
ranksultimate.inc
at line 247
.
This documentation was automatically generated from source.