Quote:
Originally Posted by Neuro Toxin
Lets start by properly indenting your code and using the new syntax.
Code:
public void OnPluginStart()
{
RegConsoleCmd("test", testCmd);
}
public Action testCmd(int client, int args)
{
PrintToChat(client, "The weather is cool today");
}
Here is the info you need.
http://www.sourcemod.net/new-api/string/ReplaceString
|
thx man , this is my script :
Code:
public Action:thetimeCmd(client, args)
{
decl String:ctime[64];
FormatTime(ctime, 64, NULL_STRING);
PrintToChat(client, "\x01 \x04[SM]\x01 Time : \x04 %s", ctime);
}
Result : [SM] Time : 2018/07/18 11:11
i want to exchange "07" to "09" ok ?
i don't have problem for set time zone , i just want replace (fun) .
can you help me ?