SA-MP Forums Archive
How can i... - 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: How can i... (/showthread.php?tid=163941)



How can i... - Ash. - 29.07.2010

Hi all,
How can i make another tuning garage on one of my custom maps? I basically need the script to teleport me to Loco Low and start the tuning thing already built into GTA: SA (Just like if you went into the proper Loco Low garage at the actual place in the actual SA Map)

Is this possible and if so, how?

Thanks
Ash


Re: How can i... - Mike Garber - 29.07.2010

It is possible.. Just /save in SA:MP when you are inside the tuning garage, look in savedpositions.txt, take the XYZ coordinates and use SetVehiclePos on a command, checkpoint or wherever you want it.

Oh, it's an interior i guess, so do /interior in SA:MP, it tells you the interior. and SetPlayerInterior, LinkVehicleToInterior in the script.


Re: How can i... - V1ceC1ty - 29.07.2010

Change the camera, freeze the player, use dialogs for the player to change their car colour, repair their vehicle. If you're also thinking about car modifications, certain cars can only be modded. Look on the wiki I'm sure somewhere it shows you what cars can and cannot be modified.
Easy as long as you know how to script.