Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant access the saved database for fivem #37

Open
darkserene opened this issue Jun 20, 2022 · 2 comments
Open

cant access the saved database for fivem #37

darkserene opened this issue Jun 20, 2022 · 2 comments

Comments

@darkserene
Copy link

hey there ive downloaded your spooner mod and even tho ive followed the instructions i still cant open saved database using the key j nothing comes up please help i useing it for fivem the resource is called spooner and still nothing

@kibook
Copy link
Owner

kibook commented Jun 20, 2022

It's control 288 or INPUT_REPLAY_START_STOP_RECORDING in FiveM currently, which is bound to F1 by default. There aren't any controls bound to J in GTA V/FiveM so I couldn't use the same key as in RedM, and picked something at random. The documentation still needs to be updated to reflect that.

You can check and customize the controls here in config.lua:

spooner/config.lua

Lines 46 to 83 in 4e2d100

Config.IncreaseSpeedControl = 15 -- Page Up, Mouse Wheel Up
Config.DecreaseSpeedControl = 14 -- Page Down, Mouse Wheel Down
Config.UpControl = 22 -- Spacebar
Config.DownControl = 21 -- Shift
Config.ForwardControl = 32 -- W
Config.BackwardControl = 33 -- S
Config.LeftControl = 34 -- A
Config.RightControl = 35 -- D
Config.ToggleControl = 178 -- Del
Config.SpawnControl = 38 -- E
Config.SelectControl = 176 -- Left mouse button
Config.DeleteControl = 177 -- Right mouse button
Config.AdjustUpControl = 44 -- Q
Config.AdjustDownControl = 48 -- Z
Config.AdjustForwardControl = 188 -- Up arrow key
Config.AdjustBackwardControl = 187 -- Down arrow key
Config.AdjustLeftControl = 189 -- Left arrow key
Config.AdjustRightControl = 190 -- Right arrow key
Config.RotateRightControl = 26 -- C
Config.RotateLeftControl = 0 -- V
Config.RotateModeControl = 29 -- B
Config.SpawnMenuControl = 23 -- F
Config.DbMenuControl = 73 -- X
Config.PropMenuControl = 37 -- Tab
Config.SaveLoadDbMenuControl = 288 -- J
Config.AdjustModeControl = 39 -- I
Config.PlaceOnGroundControl = 81 -- U
Config.FreeAdjustModeControl = 82 -- 8
Config.AdjustOffControl = 84 -- 7
Config.HelpMenuControl = 74 -- H
Config.CloneControl = 58 -- G
Config.SpeedModeControl = 45 -- R
Config.ToggleControlsControl = 170 -- F3
Config.FocusControl = 19 -- Alt
Config.ToggleFocusModeControl = 36 -- Ctrl
Config.LookLrControl = 1
Config.LookUdControl = 2
Config.EntityHandlesControl = 244 -- M

The comment is just copied from the RedM section unfortunately, you can see what the actual control numbers correspond to here: https://docs.fivem.net/docs/game-references/controls/

Related issue: #20

@SirOMGitsYOU
Copy link

I've just put in a PR to quickly fix this issue :) #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants