Im glad you got it working!yeah man... thats it... it works... =)
This one is a way better. Good job.think i goofed. this was what i was supposed to send you, this works too.
Code:// ------------------------------------------------------------------------Krixes Self Bloodbag Start------------------------------------------------------------------------ _mags = magazines player; // Krixes Self Bloodbag if ("ItemBloodbag" in _mags) then { hasBagItem = true; } else { hasBagItem = false;}; if((speed player <= 1) && hasBagItem && _canDo && ( r_player_blood < 12000 ) ) then { if (s_player_selfBloodbag < 0) then { s_player_selfBloodbag = player addaction[("<t color=""#c70000"">" + ("Self Bloodbag") +"</t>"),"Selfblood\player_selfbloodbag.sqf","",5,false,true,"", ""]; }; } else { player removeAction s_player_selfBloodbag; s_player_selfBloodbag = -1; }; // -------------------------------------------------------------------------Krixes Self Bloodbag End--------------------------------------------------------------------------
That one i posted before was a failed test. SORRY!
You can change most of the settings in the config area at the top of player_selfbloodbag.sqfIt works on my server, but the animation for using a bloodbag on myself takes REALLY long time.
- The animation goes in loop for about 3-4 times before he stops and i've got full blood.
Havent tried the new script that Alkinda posted in #120