FiveM-DisableConsole icon indicating copy to clipboard operation
FiveM-DisableConsole copied to clipboard

Dont Work

Open anes66 opened this issue 4 years ago • 6 comments

Hello bro thank you for sharing that with us im currenly on esx 1.2.0 and the problem is when i press F8 im still able to open the console and im not on whitelist if you need more info or somthing like that pls let me know :)

anes66 avatar Jan 13 '22 03:01 anes66

Hey anes66. The script is a standalone and it does not matter what framework you use on FiveM for it to work. I am not sure why it should not work for you, the only thing it does is checking when the button F8 is pressed, and when that is done it kicks the player from the server. I am not sure why it should not work, key 169 is F8 and the native DropPlayer(source, reason) still exists. https://docs.fivem.net/natives/?_0xBA0613E1

you could try to switch IsControlPressed() to IsControlJustReleased(), maybe it works then for you. let me know and ill change it.

Also the plugin is pretty much deprecated. They took the Devtools out of the F8 console, so players can not see into your client files. They could still make a dump if they know how, but now via F8 anymore. Or you want to use the plugin to have a quit exit from FiveM, other then that the use of this plugin is gone now the DevTools are removed from the client.

DevDokus avatar Jan 14 '22 04:01 DevDokus

Hey anes66. The script is a standalone and it does not matter what framework you use on FiveM for it to work. I am not sure why it should not work for you, the only thing it does is checking when the button F8 is pressed, and when that is done it kicks the player from the server. I am not sure why it should not work, key 169 is F8 and the native DropPlayer(source, reason) still exists. https://docs.fivem.net/natives/?_0xBA0613E1

you could try to switch IsControlPressed() to IsControlJustReleased(), maybe it works then for you. let me know and ill change it.

Also the plugin is pretty much deprecated. They took the Devtools out of the F8 console, so players can not see into your client files. They could still make a dump if they know how, but now via F8 anymore. Or you want to use the plugin to have a quit exit from FiveM, other then that the use of this plugin is gone now the DevTools are removed from the client.

nope still the same i just tested it and again i can open console without problems and it dont kick me out

anes66 avatar Jan 14 '22 04:01 anes66

ive got same problem

MamBaOG avatar Feb 04 '22 23:02 MamBaOG

I have got same problem script dont work

TarikSogukpinar avatar Feb 09 '22 23:02 TarikSogukpinar

Hello So do I

kheire007 avatar Jul 04 '22 22:07 kheire007

It is no longer possible to my knowledge to intercept/capture the console in any way or do anything since this commit: https://github.com/citizenfx/fivem/commit/03eae57166433d7aec37dd64375e1c14a5200d03

Feel free to let me know if I'm wrong.

Tuncion avatar Jun 02 '23 09:06 Tuncion