DocsView product page
X3D Slide
A shooter-style forward slide on Shift plus one key, with a cooldown to stop spam. Fully configurable, nothing else needed.
Buy / Get freeConfig builderInstallation
ensure x3d_slide
That is all. The default is Shift + H, and players can rebind it under Settings > Key Bindings > FiveM.
Configuration
Config.Framework = 'auto' -- auto / esx / standalone
Config.Locale = 'th' -- language of the messages (th / en)
Config.DisabledJobs = {} -- jobs that cannot slide, e.g. { police = true }
Config.SlideKey = 'H' -- the slide key (first join only)
Config.PassiveKey = 155 -- the key held with it (155 = Left Shift)
Config.MoveRate = 1.25 -- move rate during the slide
Config.Force = 12.8 -- forward force
Config.Cooldown = 10000 -- cooldown in milliseconds
Config.Notify = false -- warn when it is still cooling down
Config.SlideKeyonly applies to players joining for the first time. Anyone who has played before has the binding saved locally and rebinds it under Key Bindings.
Hooking a HUD
The slide fires an event so a HUD can draw a cooldown ring. Nothing listening is fine.
AddEventHandler('x3d_slide:cooldown', function(ms) ... end)
Notifications
With Config.Notify = true it picks what you have: esx_notify, then ox_lib, then the game's own feed. Nothing extra to install.