Open GoogleCodeExporter opened 9 years ago
[deleted comment]
I'm going to go out on a whim and say that if it's anything similar to Sourcemod
hooking, you could simply add a hook like so:
function fBlockCommands( player, command, arguments )
Msg( "Console commands kill and explode are not permitted on this server.\n" )
end
concommand.Add( "kill", fBlockCommands )
concommand.Add ( "explode", fBlockCommands )
Original comment by nicatro...@gmail.com
on 13 Jan 2010 at 1:35
http://wiki.garrysmod.com/?title=Gamemode.CanPlayerSuicide
function GM:CanPlayerSuicide( ply )
ply:PrintMessage(HUD_PRINTTALK, "You can't suicide!")
return false
end
Original comment by c...@colzdragon.com
on 15 Jan 2010 at 1:25
Original comment by fpeijnen...@gmail.com
on 18 Jan 2010 at 8:50
Original issue reported on code.google.com by
jayce...@gmail.com
on 11 Jan 2010 at 12:19