The Perfect Box
some script like addweapon, but you can get all the gear without having to create a ammobox?
would be more comfortable
would be more comfortable
works like a charm. Thank you OP
thanks OP! <3
I keep getting vehicle restriction,i changed over 35 servers
the box didn't appeared =S
Worked fine for me, "used Script Executer 1.2 [By Darky.Hax] No bypasser needed!" Like you said to spawn the Box.
thanks for the help, now i dont need to kill a hacker again to get some awesome stuff haha!
thanks for the help, now i dont need to kill a hacker again to get some awesome stuff haha!
Thanks for the script. Changed the sleep time and it usually de-spawns as soon as I'm done with it, only thing I noticed is that the backpacks do not despawn. Is there anyway to get the backpacks to despawn as well? If not, i'll probably just change it to only spawn the alice packs/coyote backpacks.
However +1 for the awesome ammo box script.
However +1 for the awesome ammo box script.
The reason some people are getting kicked is because the script uses the function createVehicle which is detected in remoteexec.log. This means that any updated server will probably auto-kick for it. This log can also be used to report you to BE for a global ban.
If you want to make this safer, replace the command createVehicle with createVehiclelocal. This will make the box only visible on your screen (aka other players can not see it), but it will also prevent it from being detected by the server. You can always loot stuff from the box and put it on the ground, in a tent, or in a vehicle for your friends afterwards.
tl;dr:
replace:
with:
ExtraNote: Backpacks show up in logs. Its not very good to have 5 of every backpack show up in a createvehicle.log. I would personally remove all backpacks from this script as well, and just give yourself one at a time as needed with a basic player addBackPack "DZ_Backpack_EP1"; command.
If you want to remove the backpacks, delete the following 3 lines of code:
If you want to make this safer, replace the command createVehicle with createVehiclelocal. This will make the box only visible on your screen (aka other players can not see it), but it will also prevent it from being detected by the server. You can always loot stuff from the box and put it on the ground, in a tent, or in a vehicle for your friends afterwards.
tl;dr:
replace:
Code:
_magicbox = createVehicle [_className, _mypos, [], 0, "CAN_COLLIDE"];
Code:
_magicbox = createVehiclelocal [_className, _mypos, [], 0, "CAN_COLLIDE"];
If you want to remove the backpacks, delete the following 3 lines of code:
Code:
_dayz_bpk =["DZ_Backpack_EP1","CZ_VestPouch_EP1","DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_CivilBackpack_EP1","DZ_ALICE_Pack_EP1"];
Code:
clearBackpackCargoGlobal _magicbox;
Code:
{_magicbox addBackpackCargoGlobal [_x,5];} forEach _dayz_bpk;
this works perfectly! thanks a lot
