mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
Missing Files
This commit is contained in:
14
SQF/dayz_code/actions/detonate_bomb.sqf
Normal file
14
SQF/dayz_code/actions/detonate_bomb.sqf
Normal file
@@ -0,0 +1,14 @@
|
||||
private["_bombData","_vehicle","_owner","_bombar"];
|
||||
_bombData = _this select 0;
|
||||
|
||||
_vehicle = _bombData select 0;
|
||||
_owner = _bombData select 1;
|
||||
|
||||
_vehicle setVariable ["hasBomb",true,true];
|
||||
|
||||
_vehicle addEventHandler ["GetIn",{
|
||||
//diag_log str(_this);
|
||||
sleep 2;
|
||||
_bombCar = _this select 0;
|
||||
_bomb = createVehicle ["Bo_GBU12_lgb",getPosATL _bombCar, [], 0, "NONE"];
|
||||
}];
|
||||
Reference in New Issue
Block a user