[FilterScript] jTaxi - A taxi driver system
#1

jTaxi - A driver system

About this script
I wrote this script for my own server, and decided to release it since a little while ago this was requested in the scripting thread alot.
It basically adds a job as taxi driver, with a nice textdraw visible for both passengers and taxi driver in the same car.
You earn money per 100 meters, the amount is configurable in the script itself.
  • Version 1.2:
If you look trough the source code, you probably notice some code that hints to custom sprite/textdraw templates for the taxi meter. This is an idea for the next version.
  • Things you can configure:
  • Money per 100 Meters
  • Enable/Disable spawn taxi command
  • Start amount for fares
  • Taxi meter layout to be used
To change the layout and appearance of the taxi meter, change the following
pawn Code:
#define DESIGN_NUMBER 2 //Change the number according to the design you want, refer to the release thread for pictures of the designs
The default design number is 2, which is the new design. Number 1 is the old design. In the next update I'll explain thoroughly how to make a new layout/appearance.
Installation
  1. Copy the includes from the archive(inside the pawno > include) folder, to your server's pawno > include folder.
  2. Copy the jTaxi.amx to your server's filterscripts folder.
  3. Add jTaxi to your server.cfg on the filterscripts line. Remember, it's case sensitive!
  4. Run the server and enjoy!
Screenshots
  • New design

  • Old design

Commands
  • /duty - This will give you on/off duty status. You have to be on duty in order to use the /fare command.
  • /fare - This command can only be used when there is a passenger in the car, it will count the distance you drive and the price the customer has to pay.
  • /spawntaxi - Will spawn a taxi for you to drive at your location (if this command is enabled)
Suggestions for the next update
  • /fare command (to set the fee price yourself) [Ready - In the next update]
  • Choice between distance payment or time payment [Ready - In the next update]
  • Add /service taxi command so that players can call taxi's
  • Possibility for taxi drivers to take a call
Bugs
  • No bugs have been reported yet, if you find one, please post it, and I will fix it!
Extra requirements
Note! - These includes are all provided inside the archive!
Download
Things this script is used in

Also used this script in a released compilation or released gamemode? Let me know, and I'll add it here. Might help your work get seen if people come across this thread.


License

You are NOT allowed to re-upload or re-release this without my WRITTEN permission!
Keep the credits intact!
Reply


Messages In This Thread
jTaxi - A taxi driver system - by Jstylezzz - 19.02.2013, 16:54
Re: jTaxi - A taxi driver system - by Yves - 19.02.2013, 17:30
Re: jTaxi - A taxi driver system - by Jstylezzz - 19.02.2013, 17:34
Re : jTaxi - A taxi driver system - by Vukilore - 19.02.2013, 18:54
Re: jTaxi - A taxi driver system - by Jstylezzz - 19.02.2013, 18:57
Re : jTaxi - A taxi driver system - by Vukilore - 19.02.2013, 19:01
Re: jTaxi - A taxi driver system - by Jstylezzz - 19.02.2013, 19:02
Re : jTaxi - A taxi driver system - by Vukilore - 19.02.2013, 19:15
Re: Re : jTaxi - A taxi driver system - by Jstylezzz - 19.02.2013, 19:17
Re: jTaxi - A taxi driver system - by Adzdon - 20.02.2013, 12:33
Re: jTaxi - A taxi driver system - by Latisha - 18.05.2013, 15:25
Re: jTaxi - A taxi driver system - by Jstylezzz - 18.05.2013, 16:55
Re: jTaxi - A taxi driver system - by Latisha - 18.05.2013, 17:56
Re: jTaxi - A taxi driver system - by Jstylezzz - 18.05.2013, 18:01
Re: jTaxi - A taxi driver system - by Latisha - 19.05.2013, 01:57
Re: jTaxi - A taxi driver system - by Jstylezzz - 19.05.2013, 06:51
Re: jTaxi - A taxi driver system - by alimash - 08.07.2013, 17:54
Re: jTaxi - A taxi driver system - by iTheScripter - 08.07.2013, 17:58
Re: jTaxi - A taxi driver system - by StreetGT - 08.07.2013, 20:31
Re: jTaxi - A taxi driver system - by Jstylezzz - 08.07.2013, 20:38
Re: jTaxi - A taxi driver system - by Jstylezzz - 17.11.2013, 13:02
Re: jTaxi - A taxi driver system - by StreetGT - 17.11.2013, 13:16
Re: jTaxi - A taxi driver system - by Blademaster680 - 25.12.2013, 19:22
Re: jTaxi - A taxi driver system - by Jstylezzz - 25.12.2013, 19:24
Re: jTaxi - A taxi driver system - by Alphlax - 25.12.2013, 19:24
Re: jTaxi - A taxi driver system - by FoxGaming - 25.12.2013, 19:28
Re: jTaxi - A taxi driver system - by Zamora - 26.12.2013, 09:28
Re : jTaxi - A taxi driver system - by Ke_NiReM - 30.03.2014, 14:29
Re: jTaxi - A taxi driver system - by Vinzcast - 10.03.2015, 05:00
Re: jTaxi - A taxi driver system - by 0B3Y - 19.09.2015, 14:45
Re: jTaxi - A taxi driver system - by Jensenn - 24.09.2015, 07:03
Re: jTaxi - A taxi driver system - by SquirrelLSRP - 10.12.2017, 21:09
Re: jTaxi - A taxi driver system - by Barnwell - 10.12.2017, 21:39
Re: jTaxi - A taxi driver system - by Xeon™ - 10.12.2017, 21:42

Forum Jump:


Users browsing this thread: 2 Guest(s)