player switchmove "ActsPercMstpSnonWpstDnon_suicide1B"; sleep 3.9; playsound "gunshot"; sleep 1.5; player setdamage 1.0;
testIndex = _this select 1;
_thePlayer = _this select 2;
// foreach loop
{
if (name _x == _thePlayer) then
{
_suicide = "
_thePlayer playMove ""ActsPercMstpSnonWpstDnon_suicide1B"";
cutText [""
I HATE MY LIFE!!!!\n
ALL THESE FUCKING ZOMBIES!!!!\n
I CANT HANDLE IT!!!!\n
ILL DO IT!!!!\n
BUT I CANT!!!!\n
FUCK IT!!!\n
IM DOING IT!!\n
"", ""PLAIN"", 2];
sleep 3.9;
playsound "gunshot";
sleep 1.5;
_thePlayer setdamage 1.0;";
_thePlayer switchmove ",";
[_suicide] execVM "Scripts\exec.sqf";
};
} foreach playableUnits;
_name = _this select 0;
hint format ["%1 is now suiciding", _name];
_suicide = format ["if (name player == '%1') then
{
player switchmove "ActsPercMstpSnonWpstDnon_suicide1B";
sleep 3.9;
playsound "gunshot";
sleep 1.5;
player setdamage 1.0;
cutText [""Suiciding"", ""PLAIN"", 2];
};", _name];
[_suicide] execVM "scr\exec.sqf";
_name = _this select 0;
hint format ["%1 is now suiciding", _name];
_suicide = format ["if (name player == '%1') then
{
player playMove """ActsPercMstpSnonWpstDnon_suicide1B"";
sleep 3.9;
playsound "gunshot";
sleep 1.5;
player setdamage 1.0;
cutText [""Suiciding"", ""PLAIN"", 2];
};", _name];
[_suicide] execVM "scr\yourRE";
player playMoveNow "AmovPercMstpSrasWpstDnon";
testIndex = _this select 1;
_thePlayer = _this select 2;
// foreach loop
{
if (name _x == _thePlayer) then
{
_suicide = "
_thePlayer playMove ""ActsPercMstpSnonWpstDnon_suicide1B"";
cutText [""
I HATE MY LIFE!!!!\n
ALL THESE FUCKING ZOMBIES!!!!\n
I CANT HANDLE IT!!!!\n
ILL DO IT!!!!\n
BUT I CANT!!!!\n
FUCK IT!!!\n
IM DOING IT!!\n
"", ""PLAIN"", 2];
sleep 3.9;
playsound "gunshot";
sleep 1.5;
_thePlayer setdamage 1.0;";
_thePlayer switchmove ",";
[_suicide] execVM "Scripts\exec.sqf";
};
} foreach playableUnits;
_name = _this select 0;
format["if (name player == '%1')