fnc_eh_onUserAdminStateChanged.sqf

Summary
fnc_eh_onUserAdminStateChanged.sqf
Functions
OCAP_recorder_fnc_eh_onUserAdminStateChangedUses OCAP_EH_OnUserAdminStateChanged to detect when someone is has logged in or out of the server and calls OCAP_recorder_fnc_adminUIControl to update the admin UI.

Functions

OCAP_recorder_fnc_eh_onUserAdminStateChanged

Description

Uses OCAP_EH_OnUserAdminStateChanged to detect when someone is has logged in or out of the server and calls OCAP_recorder_fnc_adminUIControl to update the admin UI.

Parameters

_networkIdThe network ID of the player who has logged in or out of the server [String]
_loggedInWhether the player has logged in or out as admin [Boolean]
_votedInWhether the player has been voted in or out of admin [Boolean]

Returns

Nothing

Examples

call FUNC(eh_onUserAdminStateChanged);

Public

No

Author

IndigoFox

Handle for the “OnUserAdminStateChange” mission event handler.
Runs checks to determine if a player should have the administrative diary entry added or removed upon joining the mission or logging in/out as admin.
Close