07.11.2013, 09:07
How to remove this:
And make another manual message ?
Код:
SERVER: UNKNOWN COMMAND
SERVER: UNKNOWN COMMAND
public OnPlayerCommandText(playerid, cmdtext[])
{
// YOUR COMMANDS UP HERE
return 0; // --> Change return 0 with --> return SendClientMessage(playerid, "Server: Command Doesn't exist!", COLOR);
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
new string[128];
if(!success)
{
format(string,sizeof(string),"ERROR: %s is Invalid Command!",cmdtext);
SendClientMessage(playerid,red,string);
}
return 1;
}