Advertisement
Matt34

Untitled

Jun 30th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. if (("ItemEtool" in weapons player) && ("PartWoodPile" in _mags)) then {
  2. hasBombItem = true;
  3. } else {
  4. hasBombItem = false;
  5. };
  6. if ((speed player <= 1) && hasBombItem) then {
  7. hasBomb = true;
  8. } else {
  9. hasBomb = false;
  10. };
  11. if ((hasBomb) && ("HandGrenade_West" in _mags)) then {
  12. if (s_player_makeBomb < 0) then {
  13. s_player_makeBomb = player addAction [("<t color=""#c30000"">" + ("Place Exploding Booby Trap") +"</t>"),"scripts\Bombtrigger.sqf","",5,false,true,"",""];
  14. };
  15. } else {
  16. player removeAction s_player_makeBomb;
  17. s_player_makeBomb = -1;
  18. }; // End toggling of Matt L's Bomb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement