SA-MP Forums Archive
Pay and Spray - 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: Pay and Spray (/showthread.php?tid=604379)



Pay and Spray - alexkeward - 04.04.2016

Anyone able to make me a Pay'N'Spray system that blocks it then you /enter and it spawns you in you do your shiz then it spawns out, Might be in the wrong section if so im sorry :/


Re: Pay and Spray - AndySedeyn - 04.04.2016

Add objects (gates?) in front of the entrance, and then create the command. In the command you should do the following:
> Logic checks such as: is the player in a vehicle? Does the player have enough cash?...
> Check whether or not the player is in range of any of these entrances
> If he is, then TP him inside the Pay'N'Spray
> Measure the time that it takes the Pay'N'Spray to respray a vehicle and use this in a timer to determine when to TP the player out (you should do this in advance)

You should request scripts in this topic: http://forum.sa-mp.com/showthread.ph...02#post3681202