[FilterScript] jTaxi - A taxi driver system
#16

This filterscript is not made for your gamemode. If you want to use it as a job, you just need to add one little if statement in each command, to detect if they joined the job. How can I know what job ID it is for your mode? That's why I left it open for the end user to edit it. Also, the start amount define is the money added to the total fare amount, when the passenger gets in the taxi, even if they haven't drove yet, they have to pay 2.66 anyways. Offcourse people can use the standard taxi, id 420, without spawning a taxi. If you look at this code:
pawn Code:
forward IsATaxi(vehicleid);
public IsATaxi(vehicleid)
{
    new vmodel = GetVehicleModel(vehicleid);
    if(vmodel == 420 || vmodel == 438)
    {
        return 1;
    }
    return 0;
}
It looks if the vehicle the player is in is either car id 420 or 438, you can even disable the spawntaxi command at the top.
Before saying things are useless, you might want to look trough the code first.
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)