Quote:
Originally Posted by papedo
please post more information what should be a "undercover car".. it doesnґt make sense..
|
What am I trying to do is to conver this:
pawn Код:
if(GetPlayerVehicleID(vehicleid) != vehicle[0] || vehicle[1] || vehicle[2] || vehicle[3])
To something easier all those cars vehicle[0] - [4] are as undercover vehicles so how can I detect all those vehicles as Undercover so I don't need to do code like I posted above, because I want to add more cars like 10 so is there different way than doing vehicleid[1] || vehicleid[2]........vehicleid[6] vehicleid[7] ..... vehicleid[10] and so on I want all those cars detected as undercover cars.. so I can do only != UnderCoverCar) { code....}
Thanks for help.