For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Name
Data Type
Description

targetServerID

integer

Target server ID or nil

Example

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

TriggerEvent("billing_ui:openBillingMenu", targetPlayerId)

Last updated

Was this helpful?