Before the great work of Rene Sackers is forgotten, I modified the ServerMan a little for Rage:MP.
https://github.com/Rene-Sackers/gta-network-server-man
let chat = false;
mp.keys.bind(0x54, true, (player) => { // If Chat was triggered
if (!chat) {
chat = true;
}
});
mp.keys.bind(0x0D, true, (player) => { // If Chat was stopped.
if (chat) {
chat = false;
}
});
You can use this chat checker client side to fix your bug...
Hello,
I have one suggestion for team RageMP, please create extension for Microsoft Visual Studio Code. When I write scripts, I have to look at api constantly.
Please, consider my suggestion
That plugin I linked does do autocompletion (For C#)
For Javascript, there is no plugin apart from those typescripts. Are you wanting a plugin for Javascript and not use the Typescript files?
Also not sure what you mean by 'FTP work'
I very much like/support this idea. No doubt, there's plenty of us using various of editors - this would be a good addition. VS Code is clearly one of my favorites.
I don't know about how cracked versions work, so I can't answer that question. Anyway, to avoid more problems related to that "version", you should buy the game.
There is already a CSharp extension here: https://www.nuget.org/packages/gtanetwork.api
If you want auto-completion for Javascript then there are typescripts you can use
Serverside: https://github.com/CocaColaBear/types-ragemp-s
Clientside: https://github.com/CocaColaBear/types-ragemp-c
Here's a quick guide on how to reference the typescript in your file: https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html