08.12.2010, 20:01
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
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