Forum

> > CS2D > General > Lock "kill" command
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Lock "kill" command

2 replies
To the start Previous 1 Next To the start

old Lock "kill" command

Mora
User Off Offline

Quote
Hello us
As title says, i just wanna lock "kill" command in my server, better will be if it can be done with lua.
Can someone help me with that?
Thanks

old Re: Lock "kill" command

Alpha Beta
User Off Offline

Quote
What do you mean with that? To disable it?

You can use the new cs2d lua hook suicide hook.

1
2
3
4
addhook("suicide", "lockkill")
function lockkill(id)
	return 1
end

old Re: Lock "kill" command

Mora
User Off Offline

Quote
@user Alpha Beta: uh, you always help me a lot, thank you good guy
/moderators please close topic.
edited 1×, last 24.09.14 03:53:49 pm

Admin/mod comment

It is not necessary to lock the thread (not topic) as people can still use this to discuss about locking 'kill' command.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview