You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export ToggleOptin results in error whenever called.
Reproduction
exports.qbx_core:ToggleOptin(source)
Expected behavior
Metadata value optin (true|false) to be not optin
Actual behavior
An error is returned.
[ script:qbx_core] SCRIPT ERROR: @qbx_core/server/functions.lua:311: attempt to call a nil value (field 'SetPlayerData')
[ script:qbx_core] > ref (@qbx_core/server/functions.lua:311)
[ script:qbx_core] > handler (@qbx_adminmenu/server/main.lua:256)
[script:qbx_adminmenu] SCRIPT ERROR: @qbx_adminmenu/server/main.lua:256:
[script:qbx_adminmenu] An error occurred while calling export `ToggleOptin` in resource `qbx_core`:
[script:qbx_adminmenu]
[script:qbx_adminmenu] ---
Additional context
optin has traditionally been a broken feature, but with Qbox, I think it would be beneficial for this to work. The first step is to address the issue in the core when triggering the export.
Why keep this export?
Other features rely on this such as:
Scoreboard - Overhead IDs (hiding during spectating or when serving as an onduty admin)
Reports - Disables them from admins when off duty | EDIT: It seems /report was removed. Feature request created at: Qbox-project/qbx_adminmenu#24
Last Updated
Last week
Custom Resources
N/A
Resource Rename
qbx_core
The text was updated successfully, but these errors were encountered:
Summary
Export ToggleOptin results in error whenever called.
Reproduction
Expected behavior
Metadata value
optin
(true|false) to benot optin
Actual behavior
An error is returned.
Additional context
optin
has traditionally been a broken feature, but with Qbox, I think it would be beneficial for this to work. The first step is to address the issue in the core when triggering the export.Why keep this export?
Other features rely on this such as:
Scoreboard - Overhead IDs (hiding during spectating or when serving as an onduty admin)
Reports - Disables them from admins when off duty | EDIT: It seems
/report
was removed. Feature request created at: Qbox-project/qbx_adminmenu#24Last Updated
Last week
Custom Resources
N/A
Resource Rename
qbx_core
The text was updated successfully, but these errors were encountered: