crxranks_get_save_type
Returns the data saving type set in the plugin's configuration file.
Syntax
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. */ native bool:crxranks_get_setting(key[], value[], len) /** * Returns the client's HUD information. * * @param id Client index. * @param buffer Buffer to store the HUD information in. * @param len Maximum buffer length. * @noreturn */ native crxranks_get_user_hudinfo(id, buffer[], len) /** * Returns the client's current level. * * @param id Client index. * @return Client's current level. */ native crxranks_get_user_level(id)
Return
if it's set to nickname, 1 for IP and 2 for SteamID.
Notes
You can use the constants CRXRANKS_ST_NICKNAME, CRXRANKS_ST_IP
Defined in
crxranks.inc
at line 97
.
This documentation was automatically generated from source.