Agency Docs
QBESXStandalone

Agency-Multicharacter Exports & API

Una selección y creación de personajes cinematográfica para FiveM.

v1.0.0De pago5 Páginas

01Exports de cliente

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

02Exports de servidor

ExportDescripción
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.

03Eventos

NombreLadoDescripción
agency-multicharacter:server:loadedServidorA character was loaded or created (source, charid, isNew).
agency-multicharacter:server:deletedServidorA character was deleted (source, charid).
agency:selectionClientetrue while a selection screen is open, HUDs can hide themselves.

¿Sigues atascado después de esta página? Nuestro soporte se encarga.