I have a doubt is there any way to disable the console example I want to put in my server that when I press the T key do not open the console bar Can it be disabled from a server? That is my doubt
That's like /q and kill you cant
Quote from: Zeyad Ahmed on Jun 09, 2017, 12:35 AMThat's like /q and kill you cant
/Kill if it can be disabled
Quote from: Luis_Labarca on Jun 09, 2017, 12:45 AMQuote from: Zeyad Ahmed on Jun 09, 2017, 12:35 AMThat's like /q and kill you cant
/Kill if it can be disabled
what you mean?
you mean is there any chance to disable /kill or what?
You can't disable the console as a server owner, this would prevent people from being able to use the built-in commands like /q, /reconnect, /setconfig and /kill.
Quote from: Stormeus on Jun 09, 2017, 01:53 AMYou can't disable the console as a server owner, this would prevent people from being able to use the built-in commands like /q, /reconnect and /kill.
Is there any functions like ongameclose and so on it may help us in death evade.
Quote from: Zeyad Ahmed on Jun 09, 2017, 01:02 AMQuote from: Luis_Labarca on Jun 09, 2017, 12:45 AMQuote from: Zeyad Ahmed on Jun 09, 2017, 12:35 AMThat's like /q and kill you cant
/Kill if it can be disabled
what you mean?
you mean is there any chance to disable /kill or what?
If I recall correctly if you set a value of 255 to SetKillDelay (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/SetKillDelay) /kill command will be disabled.
Quote from: Zeyad Ahmed on Jun 09, 2017, 01:55 AMQuote from: Stormeus on Jun 09, 2017, 01:53 AMYou can't disable the console as a server owner, this would prevent people from being able to use the built-in commands like /q, /reconnect and /kill.
Is there any functions like ongameclose and so on it may help us in death evade.
You're talking about onPlayerPart, which already exists.
Sadly it wont happened. Yes player can quit using game menu, but still... devs wont allow us to change native UX.
Quote from: Stormeus on Jun 09, 2017, 01:53 AMYou can't disable the console as a server owner, this would prevent people from being able to use the built-in commands like /q, /reconnect, /setconfig and /kill.
With some serious compromises, you can disable console input using client-side scripts.