[Release] Taxi counter according to the distance and the time

:taxi: TAXI COUNTER :oncoming_taxi:

Taxi counter according to the distance traveled and the time.
There is a day tarif and a night tarif.
Customisable tarif.

Default tarif:

  • 10 $ per kilometer
  • 5 $ minimum
  • 3 $/h (h = 2 mins = 1 h in gta) the day
  • 5 $/h (h = 2 mins = 1 h in gta) the night

Git-Hub link :arrow_double_down:
download

Look the Git-Hub readme

Video :

1 Like

thanks for shared!

1 Like

I forgot to put a change to download.
You can now download the latest version

1 Like

Do you mind if I modify it to create an esx version for my server? That the payment system is approved from the taxi F6 and when you press the option give the bill.

1 Like

No problem, you can do what you want.
I would just like to be identified in case of publication

For now are for my server and I will think about publishing it in the future. A doubt, where is the part of the code that creates the command? How does it work with “!”. Sorry if the question is very silly, but I have little experience, enough to adapt the script, but I’m not an expert.

I m sorry, the video is the version in C# and in the lua version I didn’t have add the commands.
For add a command you must add this code:

RegisterCommand("CommandName", function()
	-- Method that you would call
end)

Thank you, I was looking for that part of the code to modify something, and I couldn’t find it.

I have added the commands in the script

I have already made the code that I comment, as soon as I test it I will inform you, if it works I will integrate the entire system of this mod from the F6 of taxi driver menu.

1 Like

I would love to use your version for my ESX server

1 Like

First I will test it on my RP server. But give me some time, with the server I am very busy and I don’t know when I will finish it.

2 Likes