hi
I want to add color in zriot.
PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <cstrike>
#include <morecolors>
PHP Code:
public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)
{
CreateGlobals();
MarkNativeAsOptional("GetUserMessageType");
return APLRes_Success;
}
This step how to do?
PHP Code:
FormatTextString(String:text[], maxlen)
{
Format(text, maxlen, "@green[%t] @default%s", "ZRiot", text);
ReplaceString(text, maxlen, "@default","\x01");
ReplaceString(text, maxlen, "@lgreen","\x03");
ReplaceString(text, maxlen, "@green","\x04");
}
__________________