SA-MP Forums Archive
I need help to make the train in the game in my server - 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: I need help to make the train in the game in my server (/showthread.php?tid=359868)



I need help to make the train in the game in my server - OmarT2 - 15.07.2012

I need help to make the train in the game in my server .


Re: I need help to make the train in the game in my server - Matz - 15.07.2012

You have to go rails and type /save. Then take the X Y Z from that coordinate and use it on AddStaticVehicle.

Example:

pawn Код:
AddStaticVehicle(vehicleid, x, y, z, angle, color 1, color 2);
AddStaticVehicle(538, 300.0, 300.0, 10.0, 1.0, 1, 1);//538 is Brown Streak