crxranks_user_xp_updated

Called right after the client's XP amount changes.

Syntax

forward crxranks_user_xp_updated(id, xp, CRXRanks_XPSources:source) /** * Returns the chat prefix set in the plugin's configuration file. * * @param buffer Buffer to store the prefix in. * @param len Maximum buffer length. * @noreturn */ native crxranks_get_chat_prefix(buffer[], len) /** * Returns the flags that clients will receive when they reach the final level. * * @param buffer Buffer to store the flags in. * @param len Maximum buffer length. * @return Flags as bit value. */ native crxranks_get_final_flags(buffer[] = "", len = 0) /** * Returns the HUD info format set in the plugin's configuration file. * * @param final If true, it will get the HUD_FORMAT_FINAL settings, otherwise HUD_FORMAT if false. * @param buffer Buffer to store the HUD info format in. * @param len Maximum buffer length. * @noreturn */ native crxranks_get_hudinfo_format(bool:final, buffer[], len)

Usage

id Client index.
xp Amount of XP the client has after the change.
source The XP source that caused the change.

Return

This function has no return value.

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