I need a little help.
How can i spawn player with no items?

Thank you
Scripts
Removing ALL the items.
Removing ALL the items.
Mora: for _, id in pairs(playerweapons(p)) do if id ~= 50 and id ~= 55 then parse ("strip "..p.." "..id) end
LUA ERROR: sys/lua/try.lua:3: bad argument #1 to 'playerweapons' (number expected, got nil)
addhook("spawn","strip_")
function strip_(id)
	parse("strip "..id.." 0")
end
for _, g in pairs(playerweapons(id)) do if g ~= 50 and g ~= 55 then parse ("strip "..p.." "..g) end
addhook("spawn","dd")
function dd(p)
for _, g in pairs(playerweapons(id)) do
if g ~= 50 and g ~= 55 then
parse ("strip "..p.." "..g)
end
end
end
Ridho: don't even need to launch it, i know it's wont work. addhook("spawn","dd")
function dd(p)
	parse ("strip "..p.." 0")
end
TheVillager: hey baby, don't you find it's similar?
Ridho: has writtenaddhook("spawn","strip_")
function strip_(id)
parse("strip "..id.." 0")
end
addhook("spawn","dd")
function dd(p)
	parse ("strip "..p.." 0")
end
ohaz: It's not quite impossible (unless DC fixed it), but leads to a shitload of problems so it is recommended the player always have at least one item.