19.02.2011, 22:18
Too much hassle, and one too large array. This will be much more resource efficient:
pawn Код:
// Top
new
MaxStaticVehicles = 0;
// GamemodeInit
MaxStaticVehicles = AddStaticVehicle(...) // this will be the very LAST STATIC VEHICLE
// Anywhere
stock IsStaticVehicle(vehicleid)
return (vehicleid <= MaxStaticVehicles) ? true : false;