Forum

> > CS2D > Scripts > Removing ALL the items.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Removing ALL the items.

25 replies
Page
To the start Previous 1 2 Next To the start

old Re: Removing ALL the items.

Talented Doge
User Off Offline

Quote
1
for _, g in pairs(playerweapons(id)) do if g ~= 50 and g ~= 55 then parse ("strip "..p.." "..g) end

Uh, strip 0 seems to work fine.

old Re: Removing ALL the items.

Mora
User Playing CS2D

Quote
Maybe i've do something wrong?
1
2
3
4
5
6
7
8
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
@user Ridho: don't even need to launch it, i know it's wont work.

old Re: Removing ALL the items.

Yates
Reviewer Off Offline

Quote
@user 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.
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview