Garry's Mod

[SCRIPT] Antikillconsole

Submitted by DesertStriker, , Thread ID: 81874

Thread Closed
27-03-2018, 07:34 PM
This post was last modified: 27-03-2018, 07:34 PM by DesertStriker
#1
Create anticonkill.lua in lua>autorun


Code:
function NoSuicide( ply )
return false
end

hook.Add( "CanPlayerSuicide", "Suicide", NoSuicide )

RE: [SCRIPT] Antikillconsole

#2
this is not a leak it is just a google lookup... https://gmod.facepunch.com/f/gmodgd/hetr...command/1/

RE: [SCRIPT] Antikillconsole

OP
#3
27-03-2018, 08:22 PM
Obitus Wrote:
this is not a leak it is just a google lookup... https://gmod.facepunch.com/f/gmodgd/hetr...command/1/

I didnt say it is a leak. I, myself, have been searching a way to restrict the players to "kill" themselves on my own server. I suppose that this script would be useful to all serverowners. Though, I would delete this post if it does somehow violate this channels rules

RE: [SCRIPT] Antikillconsole

#4
Well, alright. Although you can just google this if you need this. Not gonna post every possible thing that can be done here lmao.

RE: [SCRIPT] Antikillconsole

OP
Warned
#5
28-03-2018, 03:05 PM
Obitus Wrote:
Well, alright. Although you can just google this if you need this. Not gonna post every possible thing that can be done here lmao.


Okay :hehe:

RE: [SCRIPT] Antikillconsole

#6
I guess this is good???? i'll use it yea but was it really this worth it

RE: [SCRIPT] Antikillconsole

#7
Yes, thank's but its easy to make it !
I will add a message who say "You can not kill yourself"

RE: [SCRIPT] Antikillconsole

#8
Now, I hope this works, and is not just some backdoor to get into my server

RE: [SCRIPT] Antikillconsole

#9
28-03-2018, 10:50 PM
Dank_Master Wrote:
Now, I hope this works, and is not just some backdoor to get into my server

Lol. This could not possibly be a backdoor.

RE: [SCRIPT] Antikillconsole

#10
gmodstore is a fucking joke lmao but what ever. I dont like how people dont get genuine jobs

Users browsing this thread: 5 Guest(s)