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.

看完本页仍未解决?接下来由我们的支持团队接手。