Billing System

If someone has or have and is willing to release a “fine” system that works like this. Officer gives you fine via esx_policejob. If you have money the money shall be drawn directly from the player. If the player do not have money, as soon as the player gets money into the account it will be drawn.

Moved to #development:scripts

You mean esx_billing?

Yes but I want the money to be drawn directly

Do you mean immediately without the players interaction?

yes exactly like that

How we do it is if a fine is left unpaid for x amount of time… a Warrant is issued autoamatically for failure to pay fines in our CAD

Can you PM me how to do that?

Any resoults yet because im wondering about that aswell

@mrdigital01 Do you know how to do that, add it if they dont pay they get a warrant?

First you need to modify the SQL Table and SQL insert in ESX_Billing to add a Date for when the Billing entry was added .

next you need to in whatever CAD/MDT build a system where every so often it checks that billing table and if it finds a fine that is 30 days past the added date issue a warrant.

you also need to link you users in CAD to their steam IDs so you know what fine is for what user.

with that said keep in mind that fines in ESX go against the player NOT the character (there is no REAL character system in ESX apart from changing your name / birthday… your clothes, cars, etc carry over to whatever character including Fines)

2 Likes