Send a bill
Event
TriggerServerEvent("billing_ui:sendBill", targetId, societyName, reason, amount)Parameters
Name
Data Type
Description
Example
local closestPlayer, closestDist = ESX.Game.GetClosestPlayer()
local targetId = GetPlayerServerId(closestPlayer)
local societyName = "society_police"
local reason = "Speed limit"
local amount = 500
TriggerServerEvent("billing_ui:sendBill", targetId, societyName, reason, amount)Last updated