ace_safemode_fnc_setWeaponSafety
Description
Safe or unsafe the given weapon based on weapon state; locked or unlocked.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon | STRING | |
2 | State | BOOL | |
3 | Show hint | BOOL | true |
Return Value
None
Example
[ACE_player, currentWeapon ACE_player, true] call ace_safemode_fnc_setWeaponSafety
Authors
- Brostrom.A