Vehicles set only for required scores..
#2

You shouldn't be checking the vehicle MODEL ... but ID. Try this:
pawn Код:
new vID = GetPlayerVehicleID(playerid);
    if(vID == USAHunter || vID == USAHydra1 || vID == USAHydra2)
And also, instead of "&&" change to "||", given the fact you're checking something, which can't be true at the same two times.

&& = AND

|| = OR

So, you're checking if ID is equal to USAHunter or USAHydra1 or USAHydra2. It can't be the same three IDs at the same time.
Reply


Messages In This Thread
Vehicles set only for required scores.. - by Huxley - 30.04.2012, 17:01
Re: Vehicles set only for required scores.. - by antonio112 - 30.04.2012, 17:09
Re: Vehicles set only for required scores.. - by Huxley - 30.04.2012, 17:15
Re: Vehicles set only for required scores.. - by antonio112 - 30.04.2012, 22:31
Re: Vehicles set only for required scores.. - by Huxley - 01.05.2012, 00:24

Forum Jump:


Users browsing this thread: 1 Guest(s)