Installation
Install the Taxi Job and its props, set up the phone app, and start it in the right order.
1. Download the resources
Download gg_taxijob from your Cfx.re portalOpens your granted assets filtered to it. Sign in with the Cfx.re account that bought it.Open portalThe download holds two folders, gg_taxijob and gg_taxijob_props. Put both in your server's resources folder and keep their names. The props resource streams the Downtown Cab Co. interior, the roof signs, banners and rental key. gg_taxijob will not start without it.
2. Install the dependencies
These need to be installed and started before the script. Skip any you already run:
The Taxi Job needs gg_lib 1.0.16 or newer. With an older one, the server console prints a red [gg_taxijob] line saying so.
Then add yourself as an admin in gg_lib so you can open Script Studio. gg_lib connects the script to your framework, inventory, target, vehicle keys and phone on its own.
3. Set up the phone app
Players hail a cab from the Taxi phone app. gg_lib adds it on its own on every supported phone. If you run more than one phone, pick yours on the Bridges page in Script Studio.
JPR Phone and RoadPhone Pro need a one-time manual install. Follow Phone app setup.
Without a supported phone, players type /calltaxi to hail a cab.
4. Add it to server.cfg
Add these lines in this order. Skip lines for resources you already start, and keep your framework, inventory, target, vehicle keys and phone above them.
ensure oxmysql
ensure ox_lib
ensure gg_lib
ensure gg_taxijob_props
ensure gg_taxijob
There is no config file and no SQL to run. The database tables are created on the first start. Every setting is in Script Studio: see Configuration.
Check it works
- Go to the Downtown Cab Co. depot, the taxi blip near
889, -176. Target the depot worker and pick Downtown Cab Co. to open the taxi tablet. - Rent a cab in the Vehicles tab, then take the keys from the desk.
- Get in and press J to open taxi calls. Accept a fare, drive to the pickup and take the rider to the drop-off. You are paid when the fare completes.
