18.01.2011, 14:52
If you use ZCMD command processor there is a function called OnPlayerCommandPerformed(...)
Just add it to your script.
If you don't use ZCMD don't even try it 'cause it won't work.
Just add it to your script.
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) return SendClientMessage(playerid, YourColor,"wrong command use/cmds";
return 1;
}