Agency Docs
QBESXStandalone

Agency-Multicharacter Экспорты & API

Кинематографичный выбор и создание персонажей для FiveM.

v1.0.0Платно5 Страницы

01Клиентские экспорты

ЭкспортОписание
IsOpen()True while the character selection is open.
OpenSelection()Opens the selection, for example from your own logout button.

02Серверные экспорты

ЭкспортОписание
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.

03События

НазваниеСторонаОписание
agency-multicharacter:server:loadedСерверA character was loaded or created (source, charid, isNew).
agency-multicharacter:server:deletedСерверA character was deleted (source, charid).
agency:selectionКлиентtrue while a selection screen is open, HUDs can hide themselves.

После этой страницы всё ещё не получается? Дальше подключается наша поддержка.