cmf_common_fnc_isRole

From cluster wiki
Revision as of 23:40, 11 November 2022 by Ozzy (talk | contribs)
Jump to navigation Jump to search


Hover & click on the images for description
Description
Description:
Checks if a unit is the specified role.
Execution:
Call
Groups:
CMF3: common
Syntax
Syntax:
[Unit, Role] call cmf_common_fnc_isRole
Parameters:
Unit: Object
Role: String
Return Value:
Is role: Boolean
Examples
Example 1:
[player, "RFL"] call cmf_common_fnc_isRole
Additional Information
See also:
See also needed
Internal Variables
No internal variables
Events
No events
Notes