Advertisement
Guest User

Untitled

a guest
Jun 25th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  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","",5,false,true,"", ""];
  18. };
  19. } else {
  20. player removeAction Custom_Monitor;
  21. Custom_Monitor = -1;
  22. };
  23. // ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement