Forum

> > CS2D > Scripts > No knife on spawn ?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch No knife on spawn ?

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt No knife on spawn ?

Remulux
User Off Offline

Zitieren
Hi does anyone have a script which no* gets a knife in the spawn ?
1× editiert, zuletzt 28.11.13 22:11:54

alt Re: No knife on spawn ?

Rainoth
Moderator Off Offline

Zitieren
1
return "x"
in spawn hook to spawn ONLY with knife if u meant that.

Check cs2d lua hook spawn

Now. If you want to spawn WITHOUT knife (like the title says, unlike your post) you will use

1
2
3
4
5
addhook("spawn","hi")
function hi(id)
	parse("equip "..id.." 1") -- Any weapon ID here.
	parse("strip "..id.." 50")
end
1× editiert, zuletzt 28.11.13 18:58:14

alt Re: No knife on spawn ?

ShouldBeNew
BANNED Off Offline

Zitieren
There's no need to script! I'm sure you're asking about knife only on spawn. If you want that then the map must have NoWeapons object so you'll spawn only as knife.

alt Re: No knife on spawn ?

ShouldBeNew
BANNED Off Offline

Zitieren
I think it's impossible to do that. And NoWeapons and no knife script would cause an error i guess.
EDIT: Eh delete my post. Raining Mammoths already told the script.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht