wrong commands
#8

Quote:
Originally Posted by Dutheil
Посмотреть сообщение
You can't use OnPlayerCommandText if you included ZCMD.

If I understand what you want to do, you want to send an error message if the command doesn't exist with ZCMD.
You must use OnPlayerCommandPerformed, like that

PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
    return (!
success SendClientMessage(playerid, -1"Unknown command, use /help.") : 1); 

Who said we can't use? I used it and it worked too..
Reply


Messages In This Thread
wrong commands - by iBots - 14.04.2015, 11:43
Re: wrong commands - by Sithis - 14.04.2015, 12:00
Re : wrong commands - by Dutheil - 14.04.2015, 12:23
Re: wrong commands - by iBots - 14.04.2015, 12:49
Re : wrong commands - by Dutheil - 14.04.2015, 13:18
Re : wrong commands - by AlexBlack - 14.04.2015, 13:20
Re: wrong commands - by J4Rr3x - 14.04.2015, 13:32
Re: Re : wrong commands - by fuckingcruse - 14.04.2015, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)