27.05.2009, 13:08
Yeah get rid of the loop and change this:
to this:
That won't make it work but it makes it a whole lot clearer and you don't have that pointless loop there.
Also shouldn't -400 be -399?? Because if you have a vehicle with modelid 401 then 401 - 400 refers to the 1st name in VehicleNames...which is the "LandStalker". But I'm not sure.
Код:
VehicleNames[GetVehicleModel(GetPlayerVehicleID(i)) - 400]
Код:
VehicleNames[GetVehicleModel(vehicleid) - 400]
Also shouldn't -400 be -399?? Because if you have a vehicle with modelid 401 then 401 - 400 refers to the 1st name in VehicleNames...which is the "LandStalker". But I'm not sure.