update_rank_info

Returns a player's check if ranks increased or decreased.

Syntax

native update_rank_info(id, iType) /** * Returns a rank experience by level check. * * @param iLevel Level number for rank * @return Needed experience for rank up. */ native get_rank_exp(iLevel) /** * Sets a player's new rank without checks and displaying in chat achieve/lost message. * * @param id Player index. * @param iLevel A valid level number * @return True on success, false otherwise. * * Example: set_user_rank(id, 10) * It will set to player the rank #10 from your Ranks.ini file! */ native set_user_rank(id, iRankNum) /** * Gets plugin prefix from file. * * @param szPrefix String * @param iLen String length * @return Plugin prefix from file * * Example: new szPrefix[32]

Usage

id Player index.
iType 0 for decreasing, 1 for increasing value

Return

Internal — check if ranks increased or decreased.

Defined in rank_system_huehue.inc at line 120 . This documentation was automatically generated from source.