Taxi fare duty
#3

Quote:
Originally Posted by introzen
Посмотреть сообщение
Create a callback (TaxiFare) where you use something like FareVariable[playerid]++.

Call a timer on command from the taxidriver, /startmeter <playerid>.

SetTimerEx("TaxiFare", 1000, 1, "i", id);

Make sure to check if the given id is in the same vehicle as the driver. Also make sure to check if it's vehicle id 420.
I thought about to set a fare once you go on duty
for example: /fare 60 - on player state change - passenger - 60 dollar per sec - when the player exits it gives the driver the full amount
Reply


Messages In This Thread
Taxi fare duty - by NeXoR - 01.04.2016, 23:35
Re: Taxi fare duty - by introzen - 02.04.2016, 06:52
Re: Taxi fare duty - by NeXoR - 02.04.2016, 10:11
Re: Taxi fare duty - by NeXoR - 02.04.2016, 22:56
Re: Taxi fare duty - by JohnBlaze1971 - 03.04.2016, 03:03
Re: Taxi fare duty - by NeXoR - 03.04.2016, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)