15.02.2013, 07:12
Hello,
I am using YCMD command processor.My server is returning all the commands as !success.
Here is the code
it shows it for all the commands even working or not i mean exists.
Could anybody check whats wrong?
I am using YCMD command processor.My server is returning all the commands as !success.
Here is the code
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
new str[128];
format(str, sizeof(str),""CBLUE"Comamnd not exists("cred"%s"CBLUE")", cmdtext);
SCM(playerid, -1, str);
TextDrawShowForPlayer(playerid, Badchat);
SetTimerEx("HideBadChat", 3000, false, "i", playerid);
GameTextForPlayer(playerid, "Command not exist", 4000, 5);
}
return 1;
}
Could anybody check whats wrong?