Agency Docs
QBESXStandalone

Agency-Multicharacter Exports & API

A cinematic character selection and creation for FiveM.

v1.0.0Paid5 Pages

01Client Exports

ExportDescription
IsOpen()True while the character selection is open.
OpenSelection()Opens the selection, for example from your own logout button.

02Server Exports

ExportDescription
GetCharacter(source)The loaded character (standalone: the full record).
GetCharacterId(source)citizenid, ESX identifier or agency:<id> of the loaded character.
IsInSelection(source)True while the player is in the selection.
GetSlots(license)Slots of a licence.
AddSlots(license, amount)Adds slots, returns the new total.
Logout(source)Saves the character and opens the selection.

03Events

NameSideDescription
agency-multicharacter:server:loadedServerA character was loaded or created (source, charid, isNew).
agency-multicharacter:server:deletedServerA character was deleted (source, charid).
agency:selectionClienttrue while a selection screen is open, HUDs can hide themselves.

Still stuck after this page? Our support team takes it from here.