OnPlayerCommandPerformed
#1

When I enter the wrong command it will not show me that I have entered a bad command.
I use YSI 4.0

PHP код:
public e_COMMAND_ERRORS:OnPlayerCommandPerformed(playeridcmdtext[], e_COMMAND_ERRORS:success)
{
    for(new 
i=0i<=MAX_PLAYERSi++) if (!IsPlayerAdmin(playerid) && PlayerInfo[i][Admin] < 1va_SendClientMessage(i0x3366FFFF"Hrбč %s (%d) cmdtext: %s"PlayerName(playerid), playeridcmdtext);
    if(!
successva_SendClientMessage(playerid,0xFF7F7FFF,"Command Error %s",cmdtext);
     return 
COMMAND_OK;

Reply


Messages In This Thread
OnPlayerCommandPerformed - by EmpireSk - 06.12.2017, 11:15
Re: OnPlayerCommandPerformed - by Pizzy - 06.12.2017, 16:57
Re: OnPlayerCommandPerformed - by Kaperstone - 06.12.2017, 17:02
Re: OnPlayerCommandPerformed - by Meller - 06.12.2017, 17:09
Re: OnPlayerCommandPerformed - by EmpireSk - 06.12.2017, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)