Set permaloot variable to your boxes or whitelist them to this array.
_ammobox = ["USLaunchersBox","RULaunchersBox","USSpecialWeapons_EP1","USVehicleBox"];
Crash site loot uses permaloot and is not cleaned.
_keep = (_x getVariable ["permaLoot",false])
Jokaru, have you tried any longer clean...
Here
if (false) then {
cutText [format["You are in combat and cannot build a bike."], "PLAIN DOWN"];
} else {
player removeAction s_player_deploybike;
closeDialog 602;
player removeWeapon "ItemToolbox";
player playActionNow "Medic";
_dis=10;
_sfx = "repair"...
I got it working fine. I'm using right click on tool box to deploy, one scrap metal to build and I'm spawning bikes from server side but you should get the cancel idea from this.
closeDialog 0;
if ("PartGeneric" in magazines player) then {
player playActionNow "Medic";
player...
Something like this?
if (dayz_combat == 1) then {
cutText [format["You can not do this while in combat!"], "PLAIN DOWN"];
} else {
player removeAction s_player_deploybike;
player removeWeapon "ItemToolbox";
player removeMagazine "PartGeneric";
player playActionNow "Medic"...
Cool stuff guys. In detain.sqf you need to change removeMagazine part to
player removeMagazine "PartGeneric";
and while we have these
_side = side _cursorTarget == west; //so only Players can be detained
_string = "PartGeneric" in magazines player;
Should we actually use them in addaction...
That worked thanks.
Start button is not in place and this shows all the time: Server is currently Online"; } else { echo "Offline"; } ?>
and this also: "Please wait 5 seconds for server to shut down. Page will refresh automatically."
and this: "Server should be fully up in about 60 seconds."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.