Default FiveM components/keyboard handling

Hi guys,

Just a quick question I hope someone can answer. While it’s not specific to any one mod (as I’ve been trying out almost everything out there to get a feel for what’s possible) a couple of things keep coming back to haunt me.

First off the default scoreboard resource is kind of ugly. There’s been a few others that are interesting but the main thing is that it’s tied to the up arrow key (by default). So in almost any other resource you have installed, most of the time when you hit the up arrow key you get that stupid scoreboard instead of things like navigating through a menu or something (again, depends on the mod, some will handle it better). So is the answer to just not include the scoreboard resource and use an alternative (or none at all). Or do you go in and modify the default scoreboard (if you want to use it) and change the keyboard shortcut? Not sure I want to be going into default resources and changing them like that (since an update would potentially break any changes you make).

Second, and somewhat related, is the escape key. It brings up the FiveM/GTA menu to get into the map, exit the game, etc. and this one seems to really get in my way all of the time. Pretty much any resource that has some kind of UI on the screen (e.g. vMenu or a shop or bank mod) requires you to use escape to get out of it and instead of escaping the menu you’re in (for example almost any ESX mod) it brings up the FiveM menu then if you escape out of that it’ll clear the UI from the mod. Is this simply a matter of all mods should be using another key to close their UI and you shouldn’t ever use or require the escape key? For example if your mod uses “E” to active, then “E” should deactivate it as well? Assuming the mod isn’t written that way, should admin’s be going in and changing it to do this?

Just wondering how people are handling this or if they bother at all and let the players sort it out themselves. I just find it really annoying as I’ve been going through a bunch of mods and end up in this keyboard loop where I have to keep going through the FiveM escape menu to exit the mods UI.

Thanks for any insight someone can give!

Either, whatever you feel comfortable doing.

Unlikely, as when you update your server artifacts, you are not replacing the default resources, as those are sourced from Github, as apposed to the artifacts server.

I mean, it’s base game… it kinda came first lol.

The vast majority let you use the backspace key; far more convenient.

Yes, but also no; if a (NUI based) resource is written correctly, pressing the escape key should not open the menu, as for other UIs, the backspace key is already very popular.

Admins as in FiveM forum admins (or more specifically the Moderators)? God no; people need to check their own code, the Moderators have enough on their plates, how could they possibly be expected to fix other people’s code?


I hope this addresses your concerns :mascot:

1 Like

Thanks for the quick and insightful response! Will check out using the backspace key myself as I was unaware of that. Maybe that’s the issue here (my own knowledge, not a mods behavior) as I’m just going through resources and trying them out and no documentation on things like the backspace key (that I’ve come across) I just defaulted to try using the escape key. As for changing the code for the resource, I was referring to an admin as the server admin. Nothing to do with FiveM forum admins/moderators. Again, thanks for the info!