Files
DayZ-Epoch/SQF/dayz_code/traps/functions/trigger.sqf
2016-02-27 22:31:43 -05:00

8 lines
178 B
Plaintext

_trap = _this select 0;
if (getNumber (configFile >> "CfgVehicles" >> typeOf _trap >> "singleUse") > 0) then {
[_trap] call remove_trap;
} else {
[_trap] call disarm_trap;
};