SA-MP Forums Archive
Parking private cars - 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: Parking private cars (/showthread.php?tid=250103)



Parking private cars - Panormitis - 21.04.2011

So WOrld, I have made some private cars in my server for me and my friends, but there is a problem, we need a command that will /park the private cars, when we will type /park the car will respawn there, in the last location we park it! What is the code for this? (please no zcmd etc , I want the pawno default way for commands) thanks alot!


Re: Parking private cars - mitosking - 21.04.2011

You do a vehicle system for that. You save coordinates of your vehicle when you type "/park" and insert they into a file with Dini or other include writing and reading.