Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Luis_Labarca on Jun 09, 2017, 12:32 AM

Title: Disable Console
Post by: Luis_Labarca on Jun 09, 2017, 12:32 AM
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
Title: Re: Disable Console
Post by: EightyVice on Jun 09, 2017, 12:35 AM
That's like /q and kill you cant
Title: Re: Disable Console
Post by: Luis_Labarca on Jun 09, 2017, 12:45 AM
Quote from: Zeyad Ahmed on Jun 09, 2017, 12:35 AMThat's like /q and kill you cant
/Kill if it can be disabled
Title: Re: Disable Console
Post by: EightyVice on Jun 09, 2017, 01:02 AM
Quote from: Luis_Labarca on Jun 09, 2017, 12:45 AM
Quote 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?
Title: Re: Disable Console
Post by: Stormeus on Jun 09, 2017, 01:53 AM
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.
Title: Re: Disable Console
Post by: EightyVice on Jun 09, 2017, 01:55 AM
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.
Title: Re: Disable Console
Post by: PunkNoodle on Jun 09, 2017, 03:04 AM
Quote from: Zeyad Ahmed on Jun 09, 2017, 01:02 AM
Quote from: Luis_Labarca on Jun 09, 2017, 12:45 AM
Quote 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.
Title: Re: Disable Console
Post by: Stormeus on Jun 09, 2017, 05:05 AM
Quote from: Zeyad Ahmed on Jun 09, 2017, 01:55 AM
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.

You're talking about onPlayerPart, which already exists.
Title: Re: Disable Console
Post by: vito1 on Jun 09, 2017, 05:10 AM
Sadly it wont happened. Yes player can quit using game menu, but still... devs wont allow us to change native UX.
Title: Re: Disable Console
Post by: EK.IceFlake on Jun 09, 2017, 05:29 AM
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.