crxranks_get_max_levels

Returns the number of available levels.

Syntax

native crxranks_get_max_levels() /** * Searches for a rank name by a specific level number. * * @param level Level number. * @param buffer Buffer to store the rank name in. * @param len Maximum buffer length. * @return 0 if the level number is out of range, 1 otherwise. */ native crxranks_get_rank_by_level(level, buffer[], len) /** * Returns the data saving type set in the plugin's configuration file. * * @note You can use the constants CRXRANKS_ST_NICKNAME, CRXRANKS_ST_IP * and CRXRANKS_ST_STEAMID instead of numbers. * * @return 0 if it's set to nickname, 1 for IP and 2 for SteamID. */ native CRXRanks_SaveTypes:crxranks_get_save_type() /** * Returns a key value set in the [Settings] section in the plugin's configuration file. * * @param key Key to search for. * @param value Buffer to store the value in. * @param len Maximum buffer length. * @return True if the key was found, false otherwise. */

Return

Number — of available levels.

Defined in crxranks.inc at line 77 . This documentation was automatically generated from source.