fivem icon indicating copy to clipboard operation
fivem copied to clipboard

feat(resources/chat): Enable command toggleChat for RedM

Open outsider31000 opened this issue 1 year ago • 6 comments

allow command toggleChat for RedM users to be able to controll the chat window

an addSuggestion was also added for users to know what states does it have as well.

cfx forum thread of the request https://forum.cfx.re/t/allow-togglechat-for-redm-users/5158193

outsider31000 avatar Aug 08 '23 20:08 outsider31000

i added a thread for that reason so it doesnt mess with the rest it only waits for the function to be caled, but you also right it can be done differently yeah

outsider31000 avatar Aug 09 '23 00:08 outsider31000

This code needs to be cleaned up, before we can consider it. @Disquse could you tell me why toggleChat is disabled for RedM?

thorium-cfx avatar Nov 03 '23 15:11 thorium-cfx

I guess because RedM doesn't support RegisterKeyMapping and other input hooks stuff, no idea.

Disquse avatar Nov 03 '23 15:11 Disquse

Yeah RegisterKeymapping is not used in RedM. This is an issue for redm users i have to constantly tell them what they need to do to remove chat from always visible and since the command is non existente they have no other choice than to modify the script. @thorium-cfx

outsider31000 avatar Nov 03 '23 19:11 outsider31000

This feature is dependent on KeyMapping to be enabled on RedM, will consider this PR once that's added

thorium-cfx avatar Nov 23 '23 12:11 thorium-cfx

@thorium-cfx That is why is outside of RDR scope it will only apply to fivem image as to before it wasn't

outsider31000 avatar Nov 24 '23 01:11 outsider31000

Closing this pr in reference to #2152 They are both for the same thing which is to allow RedM to use toggleChat command but #2152 has an extra feature a small optimisation and chat suggestion for that command. @Disquse

outsider31000 avatar May 19 '24 21:05 outsider31000