Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Saiyan Attack on Feb 15, 2016, 09:09 PM

Title: Can I Disable /kill ?
Post by: Saiyan Attack on Feb 15, 2016, 09:09 PM
Can I Disable /kill ? I Try Many Way To Disable It But Failed :'( Is It Possible ? Then How ?
Title: Re: Can I Disable /kill ?
Post by: MatheuS on Feb 15, 2016, 11:20 PM
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.
Title: Re: Can I Disable /kill ?
Post by: KAKAN on Feb 16, 2016, 05:26 AM
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.
Title: Re: Can I Disable /kill ?
Post by: KingOfVC on Feb 16, 2016, 05:46 AM
you can disable it by using SetKillDelay( 255)
Title: Re: Can I Disable /kill ?
Post by: Stormeus on Feb 16, 2016, 07:42 AM
Yeah, if you set a delay higher than 25 seconds you can disable /kill.
Title: Re: Can I Disable /kill ?
Post by: Saiyan Attack on Feb 16, 2016, 12:02 PM
Thanks To All For This Help It's Working !! :) :D

Topic Locked !!