mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 09:48:52 +00:00
fd95968a109b51f71b61533e79caef94574f54cb
esx_billing
[INSTALLATION]
- CD in your resources/[esx] folder
- Clone the repository
git clone https://github.com/FXServer-ESX/fxserver-esx_billing esx_billing
- Import
esx_billing.sqlin your database - 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('There\'s no players nearby!')
else
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_taxi', 'Taxi', amount)
end
Description
Languages
JavaScript
62.3%
Lua
34.8%
TypeScript
1.2%
HTML
0.8%
CSS
0.7%
Other
0.2%