mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Traps and Utill Folders/Files
This commit is contained in:
7
SQF/dayz_code/traps/functions/trigger.sqf
Normal file
7
SQF/dayz_code/traps/functions/trigger.sqf
Normal file
@@ -0,0 +1,7 @@
|
||||
_trap = _this select 0;
|
||||
|
||||
if (getNumber (configFile >> "CfgVehicles" >> typeOf _trap >> "singleUse") > 0) then {
|
||||
[_trap] call remove_trap;
|
||||
} else {
|
||||
[_trap] call disarm_trap;
|
||||
};
|
||||
Reference in New Issue
Block a user