Can I Disable /kill ?

Started by Saiyan Attack, Feb 15, 2016, 09:09 PM

Previous topic - Next topic

Saiyan Attack

Can I Disable /kill ? I Try Many Way To Disable It But Failed :'( Is It Possible ? Then How ?

MatheuS

Quote from: vito on Feb 15, 2016, 11:05 PMTry add to onplayercommand if(cmd=="kill"){return false;}
Not tested.
There command to disable, but it is not so, I'm not remember but I think someone will help.
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

KAKAN

I don't think that you can actually disable it. But you can set a delay for it.
http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/SetKillDelay
Setting a delay like 600000000000000000000000 will help ya.
oh no

KingOfVC

you can disable it by using SetKillDelay( 255)

Stormeus

Yeah, if you set a delay higher than 25 seconds you can disable /kill.

Saiyan Attack

Thanks To All For This Help It's Working !! :) :D

Topic Locked !!