Open billing menu

Trigger to open the billing UI menu without making the player to select the target player with the mouse

Event

TriggerEvent("billing_ui:openBillingMenu", targetServerID)

Parameters

NameData TypeDescription

targetServerID

integer

Target server ID or nil

Example

local closestPlayer = ESX.Game.GetClosestPlayer()
local targetPlayerId = GetPlayerServerId(closestPlayer)

TriggerEvent("billing_ui:openBillingMenu", targetPlayerId)

Last updated