View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-09-2017 , 15:09   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #22

Update v3.6 @ 09.10.2017
  • The following placeholders have been added: %health%, %armor%, %frags%, %deaths%, %city%, %country%, %country_code%, %continent%, %continent_code%.
  • Since part of them are completely useless for some people, and other ones require an additional module (geoip), all of them are disabled by default. In order to enable them, you need to uncomment (remove the "//") the lines in the beginning of the .sma file and recompile the plugin.

    PHP Code:
    #define ARG_ADMIN_PREFIX         "%admin_prefix%"
    #define ARG_DEAD_PREFIX         "%dead_prefix%"
    #define ARG_TEAM                 "%team%"
    #define ARG_NAME                 "%name%"
    #define ARG_IP                     "%ip%"
    #define ARG_STEAM                 "%steam%"
    #define ARG_USERID                 "%userid%"
    #define ARG_CHAT_COLOR             "%chat_color%"
    #define ARG_MESSAGE             "%message%"
    #define ARG_TIME                 "%time%"
    //#define ARG_HEALTH             "%health%"
    //#define ARG_ARMOR             "%armor%"
    //#define ARG_FRAGS             "%frags%"
    //#define ARG_DEATHS             "%deaths%"
    //#define ARG_CITY                 "%city%"
    //#define ARG_COUNTRY             "%country%"
    //#define ARG_COUNTRY_CODE         "%country_code%"
    //#define ARG_CONTINENT         "%continent%"
    //#define ARG_CONTINENT_CODE     "%continent_code%" 
  • The lines starting with "//" are disabled, and the other ones are enabled.
  • In the same way you can disable the placeholders you don't need, but it's not a problem if you don't do it.
__________________

Last edited by OciXCrom; 10-09-2017 at 15:09.
OciXCrom is offline
Send a message via Skype™ to OciXCrom