Where would I put this [ 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]
I’m very new to all this this is from https://github.com/ESX-Org/esx_billing