SA-MP Forums Archive
[HELP]Put cars to GM - 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: [HELP]Put cars to GM (/showthread.php?tid=118603)



[HELP]Put cars to GM - Hullu - 04.01.2010

How to put cars to GM and they save forver here


Re: [HELP]Put cars to GM - [HiC]TheKiller - 04.01.2010

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


Re: [HELP]Put cars to GM - Nakki - 04.01.2010

You have to use

Код:
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2)
At car do "/save name" and go to San Andreas Folder.. theres SavedPostitions.. open it.. theres your car. like this
Код:
AddStaticVehicle(603,-1955.4165,263.0145,40.8844,271.2151,75,77); // phoenix
Then go to your GM .. Open it with PAWNO..
Put that AddStaticVehicle Thing under public OnGameModeInit()
And Compile it..


Thanks - Hullu - 04.01.2010

Thanks


Re: [HELP]Put cars to GM - Jakku - 04.01.2010

Quote:
Originally Posted by Nakki
You have to use

Код:
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2)
At car do "/save name" and go to San Andreas Folder.. theres SavedPostitions.. open it.. theres your car. like this
Код:
AddStaticVehicle(603,-1955.4165,263.0145,40.8844,271.2151,75,77); // phoenix
Then go to your GM .. Open it with PAWNO..
Put that AddStaticVehicle Thing under public OnGameModeInit()
And Compile it..
If you are using Windows Vista Home Basic, you have to hit "Combability files" before you see the savedpositions.txt