still testing
This commit is contained in:
13
framework/emp/functions/fn_applyServerObjectEffects.sqf
Normal file
13
framework/emp/functions/fn_applyServerObjectEffects.sqf
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
// Executed on server only, global argument and global effect
|
||||
// The server makes the change and broadcasts new state to all clients
|
||||
|
||||
if (!isServer) exitWith {};
|
||||
|
||||
params [["_object", objNull, [objNull]]];
|
||||
if (isNull _object) exitWith {};
|
||||
|
||||
_object disableTIEquipment true;
|
||||
_object disableNVGEquipment true;
|
||||
_object setVariable ["A3TI_Disable", true, true];
|
||||
Reference in New Issue
Block a user