Guest User

KQ Bike Jump Config 1.0.0

a guest
Mar 3rd, 2024
575
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.11 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.debug = false
  4.  
  5. -- Vehicles from which players can jump
  6. Config.jumpableVehicles = {
  7.     classes = { 8, 13 },
  8.     models = {
  9.         'blazer',
  10.         'blazer2',
  11.         'blazer3',
  12.         'blazer4',
  13.         'seashark',
  14.     },
  15. }
  16.  
  17. -- Type of the input hints. '3d-text' or 'floating'
  18. Config.inputType = 'floating'
  19. -- Size of the 3d text. (Only applicable for the 3d-text option)
  20. Config.textScale = 1.0
  21.  
  22. -- Minimum bike speed in km/h
  23. Config.minBikeSpeed = 10.0
  24.  
  25. -- Force of a normal jump. (side, front, up)
  26. Config.jumpForce = vector3(8.0, 0.7, 5.0)
  27.  
  28. -- Settings related to landing and holding onto roofs of cars
  29. Config.roofHolding = {
  30.     enabled = true,
  31.  
  32.     -- Minimum force to fall off a roof
  33.     falloffForces = 8.0,
  34.  
  35.     -- Multiplier of the minimum force required to fall off when holding onto the roof
  36.     holdingForceMultiplier = 2.5,
  37.  
  38.     -- Whether to allow players to enter vehicles from the roof
  39.     allowVehicleEntering = true,
  40. }
  41.  
  42. -- Settings related to "focus" jumping. (Jumping onto specific vehicles, sort of an aimbot for jumping)
  43. Config.focusJump = {
  44.     enabled = true,
  45.  
  46.     -- Maximum difference of velocity for focused jump
  47.     maxVelocityDifference = 5.0
  48. }
  49.  
  50. -- Controls which will be disabled when jumping/preparing a jump
  51. Config.jumping = {
  52.     disableControls = {
  53.         24, 69, 92, 106, 122, 135, 223, 257,
  54.         25, 68, 70, 91, 114, 330,
  55.         38, 86,
  56.         140, 141, 142, 143
  57.     }
  58. }
  59.  
  60. -- Keybinds
  61. -- https://docs.fivem.net/docs/game-references/controls/
  62. Config.keybinds = {
  63.     -- Hardcoded keybinds
  64.     jumpRight = {
  65.         name = 'INPUT_VEH_AIM',
  66.         label = 'RMB',
  67.         input = 68,
  68.     },
  69.     jumpLeft = {
  70.         name = 'INPUT_VEH_ATTACK',
  71.         label = 'LMB',
  72.         input = 69,
  73.     },
  74.     jumpFocus = {
  75.         name = 'INPUT_VEH_HORN',
  76.         label = 'E',
  77.         input = 86,
  78.     },
  79.     enterVehicleSeat = {
  80.         name = 'INPUT_VEH_HORN',
  81.         label = 'E',
  82.         input = 86,
  83.     },
  84.  
  85.     -- FiveM Keybinds. Editable through the in-game keybinds settings
  86.     jumpPrepare = {
  87.         key = 'G',
  88.     }
  89. }
  90.  
Advertisement
Add Comment
Please, Sign In to add comment