Hello folks!
Today I present to you a no-clip resource that I have ported from @Vespura’s vMenu.
(Check bottom for credits)
I did make minor changes to the orginal code, (besides making it standalone) and also made it as configurable as ever!
Preview of the config
config = {
controls = {
-- [[Controls, list can be found here : https://docs.fivem.net/game-references/controls/]]
openKey = 288, -- [[F2]]
goUp = 85, -- [[Q]]
goDown = 48, -- [[Z]]
turnLeft = 34, -- [[A]]
turnRight = 35, -- [[D]]
goForward = 32, -- [[W]]
goBackward = 33, -- [[S]]
changeSpeed = 21, -- [[L-Shift]]
},
speeds = {
-- [[If you wish to change the speeds or labels there are associated with then here is the place.]]
{ label = "Very Slow", speed = 0},
{ label = "Slow", speed = 0.5},
{ label = "Normal", speed = 2},
{ label = "Fast", speed = 4},
{ label = "Very Fast", speed = 6},
{ label = "Extremely Fast", speed = 10},
{ label = "Extremely Fast v2.0", speed = 20},
{ label = "Max Speed", speed = 25}
},
offsets = {
y = 0.5, -- [[How much distance you move forward and backward while the respective button is pressed]]
z = 0.2, -- [[How much distance you move upward and downward while the respective button is pressed]]
h = 3, -- [[How much you rotate. ]]
},
-- [[Background colour of the buttons. (It may be the standard black on first opening, just re-opening.)]]
bgR = 0, -- [[Red]]
bgG = 0, -- [[Green]]
bgB = 0, -- [[Blue]]
bgA = 80, -- [[Alpha]]
}
Download:
Github
Installation is as usual:
-
Place into your server resources folder.
-
Add start No-clip to your
server.cfg
. -
Enjoy
Known bug(s)
- Player still walks and turns when no-clip is active.
If you find any bugs are problems feel free to comment them here or make an issue/pr on Github.
Credits/Proof
@Vespura for the original code. Check out his vMenu here!
Proof to release:
@sadboilogan for the instructional buttons.