Agency Docs
QBESXStandalone

Agency-Multicharacter التصديرات وواجهة البرمجة

نظام سينمائي لاختيار وإنشاء الشخصيات لـ 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.

ما زلت عالقًا بعد هذه الصفحة؟ فريق الدعم يتولّى الأمر من هنا.