30.12.2011, 06:41
(
Последний раз редактировалось iChronic; 30.12.2011 в 12:09.
)
Thanks to ANdy and Spoody for solving it , DELETE TOPIC
public OnPlayerCommandText(playerid, cmdtext[]) { new CMD[256]; new idx; CMD = strtok(cmdtext, idx); //================================================================================================================================= return SendClientMessage(playerid,COLOR_RED,"Error! Command doesn't Exist please check /teles , /cmds..."); }
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) return SendClientMessage(playerid, COLOR_WHITE, "SERVER: UNKNOWN COMMAND."); //When Wrong command is entered
return 1;
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if (!success)
{
SendClientMessage(playerid,COLOR_RED,"Error! Command doesn't Exist please check /teles , /cmds...");
}
return 1;
}