SA-MP Forums Archive
Vehicle spawning from name - 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: Vehicle spawning from name (/showthread.php?tid=531193)



Vehicle spawning from name - Derexi - 11.08.2014

I used ZCMD to create a vehicle spawning script. I want players to be able to type for example "/v inf" for an Infernus, or the ID for example "/v 411". How do I do this with sscanf?


Re : Vehicle spawning from name - DarkZeroX - 11.08.2014

http://pastebin.com/YAWUpYkH