Changing key binds in FiveM

GTA V version? Latest
Up to date? Yes
Legit or Pirate copy? Legit
Steam/CD/Social Club? Steam
Windows version? 8.1 64 bit
Did you try to disable/uninstall your Anti-virus? N/A
Did you try to delete caches.xml and try again? N/A
Error screenshot N/A
GTA V folder screenshot N/A
GTA V/update/x64/dlcpacks screenshot N/A
Filepath to FiveM folder N/A
FiveM client folder screenshot N/A
System specifications N/A
CitizenFX.log file N/A
.dmp files/crash IDs N/A

Hello, I want to findout how I can change the bind to show up the leaderboard as I use middle mouse button for a bind and would like to keep using it. Before I somehow didnt have the leaderboard come up but recently it started showing up again. Thanks!

4 Likes

The leaderboard is assigned to a control, you can ask them which control so you can reassign that if you so wish. You can do this like in normal GTA:V

I have no idea what you mean. I have went into gta 5 controls and there isnt a bind for a playerboard.

3 Likes

That’s because it’s from an add-on. Have a look in it’s code (client side) and look for something that looks like IsControlPressed(1, X) where X is another number. Then you can see what that control is by going to the control wiki. This will give you something like “INPUT_DUCK”. You can the try and find this in your control menu to rebind.

If you think this is too much work, then don’t try and rebind your key. Remember, this is will only change the control for you and only you. The other players will need to rebind their keys in order to use the middle mouse to display the scoreboard.

4 Likes

Which file is it? Because there isnt a file called controls in fiveM…

1 Like

You have to look in the code !
They never talk about any file called “control”

2 Likes

Yes, but there is 87 files to search through excluding any of the folders…

1 Like

resources > [system] > scoreboard > scoreboard.lua

Now you have just 1 file …

4 Likes

Where do I find the resources folder…

What ?
Please make an effort asking for this. The resource folder is the folder which contains all your resources (with cfx-server, it’s at the root of your server’s folder)

You made your own server or you’re asking this because you got the “issue” on an existing server?
I think there might be a misunderstanding.

I want to change the controls client side.

Are you actually running the server or are you just a player on this server?

2 Likes

Then only the server owner can change these controls.
They are bound in the server’s files (server’s resources exactly).

I am a player on a server.

So as I said, you can’t rebind these controls, only basic controls from GTA V.
Only server admins can edit the resource to change the controls.

Note: controls used by scripts always rely on GTA V controls. Showing the scoreboard must use the control “Show smartphone”. If you change the key to show the smartphone, you’ll change the key to show the scoreboard.

Look in your controls for whatever is bound to middle mouse button and change it to what you want. As long as it doesn’t conflict, it should work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.