SA-MP Forums Archive
[Solved] Vehicle Model => Vehicle ID - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved] Vehicle Model => Vehicle ID (/showthread.php?tid=104993)



[Solved] Vehicle Model => Vehicle ID - SiJ - 27.10.2009

Hey,

How can I get vehicle ID from vehicle model?


Re: Vehicle Model => Vehicle ID - dice7 - 27.10.2009

You can't. There can be a lot of vehicle IDs with the same model


Re: Vehicle Model => Vehicle ID - cyber_punk - 27.10.2009

You have to do it the other way around. Get the vehicle id then get the vehicle model.


Re: [Solved] Vehicle Model => Vehicle ID - SiJ - 28.10.2009

omg I'm so stupid... I just needed to make something like this:

new Vehicle = CreateVehicle(......);

Anyway thanks for help