Forum

> > CS2D > General > Disable /kill
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Disable /kill

13 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Disable /kill

VerteX
User Off Offline

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

alt Re: Disable /kill

Sparty
Reviewer Off Offline

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

alt Re: Disable /kill

Cure Pikachu
User Off Offline

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

alt Re: Disable /kill

palomino
User Off Offline

Zitieren
user Alistaire hat geschrieben
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.

alt Re: Disable /kill

Quattro
GAME BANNED Off Offline

Zitieren
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?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht