How to change SERVER: Unknown command
#2

pawn Code:
public OnPlayerCommandText(playerid,cmdtext[])
{
 //---- all commands
  return 0;
}
down there it is return 0 make it
pawn Code:
return SendClientMessage(playerid,-1,"Invalid COmmand");


So it returns That message where " -1 " is color you want , and Replace Invalid Command by message you want.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)