30.04.2012, 17:09
You shouldn't be checking the vehicle MODEL ... but ID. Try this:
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.
pawn Код:
new vID = GetPlayerVehicleID(playerid);
if(vID == USAHunter || vID == USAHydra1 || vID == USAHydra2)
&& = 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.

