OnPlayerCommandPerformed
#4

So you want to send custom message, when command is longer than 31 symbol? Then try:
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if(strlen(cmdtext) > 31)
    {
        // custom message
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerCommandPerformed - by SickAttack - 14.05.2014, 02:38
Re: OnPlayerCommandPerformed - by ChuckyBabe - 14.05.2014, 03:14
Re: OnPlayerCommandPerformed - by SickAttack - 14.05.2014, 03:58
Re: OnPlayerCommandPerformed - by Scottas - 14.05.2014, 05:25
Re: OnPlayerCommandPerformed - by SickAttack - 14.05.2014, 07:17
Re: OnPlayerCommandPerformed - by Tingesport - 14.05.2014, 09:34
Re: OnPlayerCommandPerformed - by RajatPawar - 14.05.2014, 10:41

Forum Jump:


Users browsing this thread: 2 Guest(s)