SA-MP Forums Archive
Get 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)
+--- Thread: Get Vehicle ID (/showthread.php?tid=385767)



Get Vehicle ID - Muhamed.pwn - 17.10.2012

Hi all..

I've made a Vehicle System with IDs(0 ,1 ,2...), but for some options to do I need to get vehicles file name - the ID.

example, when a player gets into a ownable car i dont know how to get vehicles data to show for player and therefore I need the ID.


Re: Get Vehicle ID - Lordzy - 17.10.2012

Use /dl to view vehicle's id.


Re: Get Vehicle ID - Muhamed.pwn - 17.10.2012

I know this, but I don't want the Vehicles ID like GetPlayerVehicleID(playerid); i want the Vehicles ID in the veh system , the files name


Re: Get Vehicle ID - Muhamed.pwn - 17.10.2012

worked lock