Spectator · Service and registration
resolveRole
FF_spectator_fnc_resolveRole
internalPREP23 lines
Description
Resolves spectator roles from server-owned configuration and curator assignment.
- Arguments
- 0: Unit <OBJECT>, 1: Requested role <STRING>
- Returns
- viewer/controller or empty when denied <STRING>
Example
_this call FF_spectator_fnc_resolveRole
Source
- File
x\FF\addons\spectator\fnc_resolveRole.sqf- Lines
- 23
- Registration
- PREP
- Exposure
- internal