Skip to content

jijamik/esx_billing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fxserver-esx_billing

FXServer ESX Billing

[INSTALLATION]

  1. CD in your resources/[esx] folder
  2. Clone the repository
git clone https://github.com/FXServer-ESX/fxserver-esx_billing esx_billing
  1. Import esx_billing.sql in your database
  2. Add this in your server.cfg :
start esx_billing

[USAGE]

Press [F7] To show billing menu

local amount                         = 100
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()

if closestPlayer == -1 or closestDistance > 3.0 then
  ESX.ShowNotification('Aucun joueur à proximité')
else
  TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_taxi', 'Taxi', amount)
end

Ajouts

TVA de 10% sur les factures Il n'est plus possible de payer une facture sans avoir l'argent sur soit

About

FXServer ESX Billing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%