OnPlayerCommandText problem
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/tune", cmdtext, true, 5) == 0)
    {
        if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
        {
            if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
            {
                CarmodDialog(playerid);
            }
            else
            {
                SendClientMessage(playerid, RED, "You must be in a vehicle to open this dialog!");
            }
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
OnPlayerCommandText problem - by Auditore155 - 20.06.2014, 06:12
Re: OnPlayerCommandText problem - by ]Rafaellos[ - 20.06.2014, 06:16
Re: OnPlayerCommandText problem - by Auditore155 - 20.06.2014, 06:34
Re: OnPlayerCommandText problem - by ]Rafaellos[ - 20.06.2014, 06:39
Re: OnPlayerCommandText problem - by Auditore155 - 20.06.2014, 06:42
Re: OnPlayerCommandText problem - by ]Rafaellos[ - 20.06.2014, 07:42
Re: OnPlayerCommandText problem - by Auditore155 - 20.06.2014, 07:50
Re: OnPlayerCommandText problem - by DemME - 20.06.2014, 07:57
Re: OnPlayerCommandText problem - by Auditore155 - 20.06.2014, 08:00
Re: OnPlayerCommandText problem - by Threshold - 20.06.2014, 08:01

Forum Jump:


Users browsing this thread: 1 Guest(s)