OnPlayerStateChange statement ain't working
#9

I recommend re-doing, then try all this again. This time, use an iterator name OwnedVehicle. Add each owned vehicle to that iterator. If you do it correctly and stuff, you should be able to use it in a foreach loop like so:
pawn Код:
foreach(OwnedVehicle, v) if(LastVehicle[playerid] == v)
{
    //Put stuff here.
    break; //End the loop here, the match has been found!
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)