Advertisement
Matt34

Untitled

Jun 26th, 2013
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ---------------------------------------Krixes Self Bloodbag Start------------------------------------
  2. _mags = magazines player;
  3.  
  4. // Krixes Self Bloodbag
  5. if ("ItemBloodbag" in _mags) then {
  6. hasBagItem = true;
  7. } else { hasBagItem = false;};
  8. if((speed player <= 1) && hasBagItem && _canDo) then {
  9. if (s_player_selfBloodbag < 0) then {
  10. s_player_selfBloodbag = player addaction[("<t color=""#c70000"">" + ("Self Bloodbag") +"</t>"),"Fixes\player_selfbloodbag.sqf","",5,false,true,"", ""];
  11. };
  12. } else {
  13. player removeAction s_player_selfBloodbag;
  14. s_player_selfBloodbag = -1;
  15. };
  16. if (custom_monitor < 0) then {
  17. custom_monitor = player addaction[("<t color=""#c70000"">" + ("Toggle Debug") +"</t>"),"custom_monitor.sqf"];
  18. };
  19. } else {
  20. player removeAction Custom_Monitor;
  21. Custom_Monitor = -1;
  22. };
  23. // ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement