SA-MP Forums Archive
Command to make vehicle - 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: Command to make vehicle (/showthread.php?tid=133809)



Command to make vehicle - andrewp - 13.03.2010

What's the function to spawn a vehicle in front of you?

Thanks


Re: Command to make vehicle - Steven82 - 13.03.2010

There isn't one. Use the SA-MP debug to make vehicle spawn points. That would be the easiest way.


Re: Command to make vehicle - Kieren - 14.03.2010

This should help you:

https://sampwiki.blast.hk/wiki/CreateVehicle


Re: Command to make vehicle - andrewp - 14.03.2010

Quote:
Originally Posted by Kieren
Thanks.

What's the difference between this and AddStaticVehicle?

Thanks.


Re: Command to make vehicle - Nero_3D - 14.03.2010

Quote:
Originally Posted by andrewp
Quote:
Originally Posted by Kieren
Thanks.

What's the difference between this and AddStaticVehicle?

Thanks.
AddStaticVehicle/Ex only works at OnGameModeInit, wiki tells that they cant be removed (idk if thats true)
CreateVehicle works always but cant create trains


Re: Command to make vehicle - Fedee! - 14.03.2010

Check my sig.