I'm not sure really, I just wrote the script quick based on small's reply, whether it works or not I haven't tested yet
1. did you name it removeweapons.lua ?
2. did you make the barrel static = no ?
Edit: I've now tested it, and it worked, but not exactly how you would want, so I've changed it a bit, here's the new script (also attached)
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- Default script - does nothing.
g_levelstart = 0
function removeweapons_init(e)
g_levelstart = 0
end
function removeweapons_main(e)
Hide(e)
if g_levelstart == 0 then
RemovePlayerWeapons(e)
g_levelstart = 1
end
if g_levelstart == 1 then
Destroy(e)
end
end
Place it in a barrel with the following settings:
i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.