Forum

> > CS2D > General > Disable /kill
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Disable /kill

13 replies
To the start Previous 1 Next To the start

old Disable /kill

VerteX
User Off Offline

Quote
Is there a way to disable "/kill" command?
If so, please tell me.

old Re: Disable /kill

Sparty
Reviewer Off Offline

Quote
If you make a lua for it or I don't know if you can Disable it. You may ask people.

old Re: Disable /kill

Cure Pikachu
User Off Offline

Quote
1
2
3
4
5
6
addhook("parse","disable")
function disable(cmd)
	if cmd == "kill" then
		return 2
	end
end

old Re: Disable /kill

palomino
User Off Offline

Quote
user Alistaire has written
You can always use the console to "/kill". So it's impossible.

You can always disable it the same way you can disable rcon commands. Just make it so that your USGN ID is the only one that can use the "kill" command.

old Re: Disable /kill

Quattro
GAME BANNED Off Offline

Quote
1
2
3
4
function control_parse(cmd)
	if cmd == "kill" then return 2 end
	if cmd == "restart" then info[3]=0 info[4]=0 return end
end

Can anyone explain why this blocks /kill command on my PC but on dedi it is ignored?
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview