Server
This is where all the magic works, below is the documentation of every function from bridge module.
IsPlayerAllowedToOpenMenu
---@param targetId number
---@return boolean
IsPlayerAllowedToOpenMenu = function(targetId)
local xPlayer = ESX.GetPlayerFromId(targetId)
if IsPlayerAceAllowed(targetId, 'lc_adminmenu.open') then
return true
end
for i = 1, #allowed_groups do
if xPlayer.group == allowed_groups[i] then
return true
end
end
return false
endGetPermissionGroup
Permission GroupsGetAvatar
GetBridgeIdentifier
GetGlobalIdentifier
GetIdentifiers
GetPlayerCard

GetOwnedVehicles

GetAccounts

GetAccountMoney
SetAccountMoney
GetCharacterInfo

DeleteVehicle
IsPlateTaken
AddVehicle
GetCharacterInfoToEdit

ValidateCharacterEdit
SaveCharacterEdit
GetLicensesList
GetUserLicenses
ToggleUserLicense
SuccessNotify
InfoNotify
FailNotify
Last updated