Forum

> > CS2D > Scripts > No knife on spawn ?
Forums overviewCS2D overview Scripts overviewLog in to reply

English No knife on spawn ?

6 replies
To the start Previous 1 Next To the start

old No knife on spawn ?

Remulux
User Off Offline

Quote
Hi does anyone have a script which no* gets a knife in the spawn ?
edited 1×, last 28.11.13 10:11:54 pm

old Re: No knife on spawn ?

Rainoth
Moderator Off Offline

Quote
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
edited 1×, last 28.11.13 06:58:14 pm

old Re: No knife on spawn ?

ShouldBeNew
BANNED Off Offline

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

old Re: No knife on spawn ?

ShouldBeNew
BANNED Off Offline

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