[NEED HELP] vehicle names
#3

Yeah get rid of the loop and change this:

Код:
VehicleNames[GetVehicleModel(GetPlayerVehicleID(i)) - 400]
to this:

Код:
VehicleNames[GetVehicleModel(vehicleid) - 400]
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.
Reply


Messages In This Thread
[NEED HELP] vehicle names - by Drift_King786 - 27.05.2009, 12:36
Re: [NEED HELP] vehicle names - by Think - 27.05.2009, 12:59
Re: [NEED HELP] vehicle names - by lol2112 - 27.05.2009, 13:08
Re: [NEED HELP] vehicle names - by Think - 27.05.2009, 13:10
Re: [NEED HELP] vehicle names - by lol2112 - 27.05.2009, 13:16
Re: [NEED HELP] vehicle names - by yom - 27.05.2009, 13:18
Re: [NEED HELP] vehicle names - by lol2112 - 27.05.2009, 13:31
Re: [NEED HELP] vehicle names - by Think - 27.05.2009, 13:33

Forum Jump:


Users browsing this thread: 3 Guest(s)