SA-MP Forums Archive
Vehicle list? - 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: Vehicle list? (/showthread.php?tid=218361)



Vehicle list? - patfay - 30.01.2011

Would it be possible to make it so that if you type a command such as /vehname [ID/Name] It will allow you to view the id/name of a vehicle?
For example I want to spawn an infernus, but I dont know the ID.. so I can type /vehname infernus and a message will pop up showing matches for it, like Vehicle(s) Found: Infernus -411.
Or /vehname RC then the RC vehicle names + Id's show up.
and if to many matches are found (over 15) Then it will say so...


Re: Vehicle list? - Krx17 - 30.01.2011

Look at the fsdebug.pwn script by Simon that sits in your filterscript folder. Look at the /v command especially.