Vehicleid
#5

Like stated above, you haven't compared GetVehicleModel to anything. Like a vehicle model id, for example 422 is the bobcat, etc.

Also, why are you using this:
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)))
when you created the id variable and you COULD do this:
pawn Код:
if(GetVehicleModel(id) == //modelid)
Reply


Messages In This Thread
Vehicleid - by cruising - 14.01.2012, 07:13
Re: Vehicleid - by Spooky - 14.01.2012, 07:35
Re: Vehicleid - by cruising - 14.01.2012, 07:42
Re: Vehicleid - by JamesC - 14.01.2012, 07:45
Re: Vehicleid - by Steven82 - 14.01.2012, 07:48
Re: Vehicleid - by cruising - 14.01.2012, 08:01
Re: Vehicleid - by JamesC - 14.01.2012, 08:15
Re: Vehicleid - by cruising - 14.01.2012, 08:19
Re: Vehicleid - by JamesC - 14.01.2012, 08:27
Re: Vehicleid - by cruising - 14.01.2012, 08:43

Forum Jump:


Users browsing this thread: 1 Guest(s)