Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
both scripts would be a cool thing to see added to the site.
if ((getPlayerUID player) in ["123644358","124034438","112190598","124333062","48302214","55953030","64749510","78731782","89453894"]) then {
if((speed player <= 1) && _canDo) then {
if (s_player_karate < 0) then {
s_player_karate = player addaction[("<t color=""#000080"">" + ("Get ready to rumble!") +"</t>"),"Karate.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_karate;
s_player_karate = -1;
};
if((speed player <= 1) && _canDo) then {
if (s_player_relax < 0) then {
s_player_relax = player addaction[("<t color=""#000080"">" + ("Lay back and relax!") +"</t>"),"relax.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_relax;
s_player_relax = -1;
};
if((speed player <= 1) && _canDo) then {
if (s_player_box < 0) then {
s_player_box = player addaction[("<t color=""#000080"">" + ("Who want's to spar?") +"</t>"),"Boxing.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_box;
s_player_box = -1;
};
if((speed player <= 1) && _canDo) then {
if (s_player_dance < 0) then {
s_player_dance = player addaction[("<t color=""#000080"">" + ("Just dance!") +"</t>"),"dance.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_dance;
s_player_dance = -1;
};
};
if (dayz_combat == 1) then { // Check if in combat
cutText [format["You are in Combat and can't spar!"], "PLAIN DOWN"]; //display text at bottom center of screen when in combat
} else {
player removeAction s_player_box; //Should remove the action from players scroll menu
player playMove "AmovPercMstpSnonWnonDnon_idle68boxing";
};
if (dayz_combat == 1) then { // Check if in combat
cutText [format["You are in combat!"], "PLAIN DOWN"]; //display text at bottom center of screen when in combat
} else {
player removeAction s_player_dance; //Should remove the action from players scroll menu
player playMove "ActsPercMstpSnonWnonDnon_DancingDuoIvan";
};
if (dayz_combat == 1) then { // Check if in combat
cutText [format["You are in Combat and Shouldn't rehearse your Kata!"], "PLAIN DOWN"]; //display text at bottom center of screen when in combat
} else {
player removeAction s_player_karate; //Should remove the action from players scroll menu
player playMove "AmovPercMstpSnonWnonDnon_exerciseKata";
};
if (dayz_combat == 1) then { // Check if in combat
cutText [format["You are in Combat and can't relax!"], "PLAIN DOWN"]; //display text at bottom center of screen when in combat
} else {
player removeAction s_player_relax; //Should remove the action from players scroll menu
player playMove "AidlPpneMstpSnonWnonDnon_SleepB_layDown";
};
are there any battleye changes i need to do?