Toll -GATE - 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: Toll -GATE (
/showthread.php?tid=312356)
Toll -GATE -
Narimalla - 21.01.2012
How To Make A toll gate?
Re: Toll -GATE -
Scenario - 21.01.2012
Some objects and some code... DUH!
---
It's pretty simple, you'll need to map in some toll booths and a gate if you wish. Depending on what you want, you can set the gate/toll to open/close automatically, by command or just do it when you press a button. I'm sure if you check the scripting tutorials on moving objects you'll learn enough for this system.
I'm sure you'll need to withdraw some money from players as they go through the toll too, for this, visit
this website and click on functions that make sense to you (i.e. GivePlayerMoney).