SA-MP Forums Archive
how to add cars and ..... to the server - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: how to add cars and ..... to the server (/showthread.php?tid=419493)



how to add cars and ..... to the server - Awab - 01.03.2013

Ihave new server how to add cars and other things to the server


Re: how to add cars and ..... to the server - rdstm - 01.03.2013

Here you go ..

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


Re: how to add cars and ..... to the server - freddy smyth - 01.03.2013

If you map with MTA, you can use ConvertFFS to convert your mapping to PAWN. Other formats are supported too.

Also, here at the SAMP Forums, people are able to upload their own maps. You can add theirs to your script if you find ones that you like.


Re: how to add cars and ..... to the server - Cena44 - 01.03.2013

You must use the 'CreateVehice' function, and place it under the 'OnGamemodeInit' callback.
Quote:

CreateVehicle(vehicleid, pos, pos:y, pos:z, pos:angle, color1, color2)

Id' suggest you to read the wiki and practice.


Re: how to add cars and ..... to the server - RajatPawar - 01.03.2013

You can TEMPORARILY create vehicles in the server using the "CreateVehicle" function, however to add cars that will respawn at a particular place every time you start the server (or when it gets destroyed), use "AddStaticVehicle".


Re: how to add cars and ..... to the server - Stream - 01.03.2013

So good , I was looking for this too!


Re: how to add cars and ..... to the server - Matt - 02.03.2013

https://sampwiki.blast.hk/wiki/AddStaticVehicle for permanent vehicle after it dies or if the server restarts