Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (("ItemEtool" in weapons player) && ("PartWoodPile" in _mags)) then {
- hasBombItem = true;
- } else {
- hasBombItem = false;
- };
- if ((speed player <= 1) && hasBombItem) then {
- hasBomb = true;
- } else {
- hasBomb = false;
- };
- if ((hasBomb) && ("HandGrenade_West" in _mags)) then {
- if (s_player_makeBomb < 0) then {
- s_player_makeBomb = player addAction [("<t color=""#c30000"">" + ("Place Exploding Booby Trap") +"</t>"),"scripts\boobytrap.sqf","",5,false,true,"",""];
- };
- } else {
- player removeAction s_player_makeBomb;
- s_player_makeBomb = -1;
- }; // End toggling of Matt L's Bomb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement