View difference between Paste ID: yBadRrDN and nZXKGQ5G
SHOW: | | - or go back to the newest paste.
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 {
16+
	if (custom_monitor < 0) then {
17-
            Custom_Monitor = player addaction[("<t color=""#c70000"">" + ("Toggle Debug") +"</t>"),"Custom_Monitor","",5,false,true,"", ""];
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
// ---