How to do a custom "wrong command" with zcmd?
#5

Not sure what you ment, but try out OnplayerCommandPerformed.

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{    
    if(!success) return SendClientMessage(playerid, -1, "Unkown CMD | Use /cmds");  //If the command was wrong/invalid
 return 1;
}
Reply


Messages In This Thread
How to do a custom "wrong command" with zcmd? - by 101 - 22.12.2012, 21:00
Re: How to do a custom "wrong command" with sscanf? - by RedCrossER - 22.12.2012, 21:02
Re: How to do a custom "wrong command" with zcmd? - by 101 - 22.12.2012, 21:03
Re: How to do a custom "wrong command" with zcmd? - by stabker - 22.12.2012, 21:14
Re: How to do a custom "wrong command" with zcmd? - by gtakillerIV - 22.12.2012, 21:29

Forum Jump:


Users browsing this thread: 4 Guest(s)