Toll system -
Lenny the Cup - 08.12.2010
I wrote this for LS-RP a year ago but as it suddenly turns out we don't need it anymore so here it is:
http://giacom.pastebin.com/TDEVR37a
Please note that I wrote this a year ago and it's pretty messy. I am aware of most of its weaknesses, and like I said I wrote this a year ago when I just started learning pawn so please don't complain
This script requires modifications to fit your server, it's not a plug-and-play script, I don't have time to make it easily compatible for any script right now. But I'm sure the average scripter can patch this up.
How it works
There are three tolls. They are placed on the bridge between Richman and Flint County, in the tunnel at the bank building and on the highway from Los Santos to Las Venturas.
When the driver approaches one of the tolls, they are greeted by a (non-existant) guard.
To open the toll, the driver needs to pay a couple of bucks.
The toll closes automatically when the car passes or after X seconds.
The police can close the tolls individually for 30 seconds with the regular commands or all tolls with the emergency command for 60 seconds.
OH and it uses an old version of ycmd, lol
Re: Toll system -
faeldk - 08.12.2010
Very good for RP gamemode! good job.
Re: Toll system -
Ruffles. - 08.12.2010
I remember seeing this on LS-RP, appears to be a Loophole where you can pass those via Dillimore
Re: Toll system -
Devil001 - 08.12.2010
Well done !
Re: Toll system -
Lenny the Cup - 08.12.2010
Thanks guys!
Quote:
Originally Posted by Stuntkillas
I remember seeing this on LS-RP, appears to be a Loophole where you can pass those via Dillimore
|
No, this is an improved system that was meant to replace the one on LS-RP. It's made from scratch so it's not affiliated to the one running on LS-RP at all. But it's not supposed to close the city down, only the three major exits - you can still get out without passing the tolls if you're smart.
Re: Toll system -
12kelvin12 - 23.03.2011
is there a command to pay? when i go to the toll it dont open
Re: Toll system -
12kelvin12 - 23.03.2011
ah nvm some of the icons dont tell u the command
Re: Toll system -
antonio112 - 23.03.2011
Nice ! I used to play on
LS-RP and had to deal with those tolls
Thank you for it`s release.
ps: I`m guessing you have something new instead of those tolls? What is it ... because I can`t connect to the server, since I have my ports blocked
Re: Toll system -
Cosmo Bulthuis - 23.03.2011
DELETED
Re: Toll system -
wups - 23.03.2011
You should remove everything related to custom global variables(gPlayerLogged[playerid]).
+ You should change the #if TollFs == 0 ... etc. to #if defined FILTERSCRIPT