Vehicle Garage System (Help) - 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: Vehicle Garage System (Help) (
/showthread.php?tid=573254)
Vehicle Garage System (Help) -
Luis- - 05.05.2015
Hey! I've been asked to add in a garage system to store players vehicles inside. But I've no idea where to actually start with something like this. Was wondering if anyone could help me out a little.
Thanks!
Re: Vehicle Garage System (Help) -
Puppy - 05.05.2015
I don't get what the challenge is:
Just use a generic interior / location and assign each player a different VW. When the player /enters their garage and leaves without a VEHICLE(or simply you can check if any of their private vehicles are in range of their garage), mark them in a variable as being stored. Then, you can make a max vehicle capacity etc for their garage.
Re: Vehicle Garage System (Help) -
RedCode - 06.05.2015
First make one map like intererior , second make a cmd to enter example /garage and check if player is in range of point , use a variable to check MAX CARS to enter there and be careful on player use cmd to teleport him inside the interior with car. That is all. If u wanna i can make for u cmd
Re: Vehicle Garage System (Help) -
Threshold - 06.05.2015
Seems simple enough. It would make your life easier if you're using the streamer plugin, you can make use of the OnPlayerEnterDynamicArea function.