Errors
#4

It actually depends on your array..if the example above didn't work, and you wanna check for all the army vehicles, do this.
pawn Код:
if(GetPlayerClass[playerid] == ARMY_CLASS)
{
    for(new i; i<20; i++)//change 20 to "sizeof(ArmyVeh)" if you want it for all the Army Vehicles..
    {
        if(vehicleid == ArmyVeh[i])
        {
            ClearAnimations(playerid);
            GameTextForPlayer(playerid,"Army Vehicle",3000,4);
        }
    }
}
Reply


Messages In This Thread
[fixed]Errors - by TheKnown - 19.09.2015, 13:22
Re: Errors - by TheKnown - 19.09.2015, 13:44
Re: Errors - by Andre02 - 19.09.2015, 14:30
Re: Errors - by xVIP3Rx - 19.09.2015, 14:45
Re: Errors - by TheKnown - 19.09.2015, 15:26
Re : Errors - by KillerDVX - 19.09.2015, 15:27
Re: Errors - by xVIP3Rx - 19.09.2015, 15:31
Re: Errors - by TheKnown - 19.09.2015, 15:51
Re: Errors - by xVIP3Rx - 19.09.2015, 15:58
Re: Errors - by TheKnown - 19.09.2015, 16:19

Forum Jump:


Users browsing this thread: 3 Guest(s)