Forum

> > CS2D > Scripts > Removing ALL the items.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Removing ALL the items.

25 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt Re: Removing ALL the items.

Talented Doge
User Off Offline

Zitieren
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.

alt Re: Removing ALL the items.

Mora
User Spielt CS2D

Zitieren
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.

alt Re: Removing ALL the items.

Yates
Reviewer Off Offline

Zitieren
@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.
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht