28.08.2011, 23:43
Okay, basically what I need help with is that I set my server up so when you do an incorrect command instead of saying "SERVER: Unknown command." it will say "No such command! Type /cmds for a list of player commands."
Here is my code (btw I'm using ZCMD):
The problem is if I do a command from a different filterscript it will give me this message and it won't do the command. So if anyone has any ideas on how to fix this, that would be great.
Here is my code (btw I'm using ZCMD):
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if (!success) SendClientMessage(playerid, COLOR_RED, "No such command! Type /cmds for a list of player commands."); return 1; }