set_user_rank

Sets a player's new rank without checks and displaying in chat achieve/lost message.

Syntax

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] * get_plugin_prefix(szPrefix, charsmax(szPrefix)) * client_print(iIndex, print_chat, "Your plugin prefix is %s", szPrefix) */ native get_plugin_prefix(szPrefix[], iLen) /** * Gets plugin vip flag from file. * * @param szFlag String * @param iLen String length * @return Vip flag from file * * Example: new szFlag[32] * get_vip_flag(szFlag, charsmax(szFlag)) * client_print(iIndex, print_chat, "Vip flag is %s", szFlag) * Example2: * if (get_user_flags(iIndex) & read_flags(szFlag)) * // Your code here.. */ native get_vip_flag(szFlag[], iLen)

Usage

id Player index.
iRankNum

Return

True — on success, false otherwise.

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