Created by LeonMrBonnie
❤️ Support me by becoming a Patron
⭐ This repository if you found it useful!
This repository provides an alt:V resource to allow the player to noclip.
With noclip you can move through the map very fast.
This resource provides two easy events to start and stop noclip for a player.
I cannot stress this enough. Ensure you have NodeJS 13+ or you will have problems.
- NodeJS 13+
- An Existing or New Gamemode
- General Scripting Knowledge
After simply add the name of this resource to your server.cfg
resource section.
altv-os-noclip
Then simply clone this repository into your main server resources folder.
cd resources
git clone https://github.com/LeonMrBonnie/altv-os-noclip
Ensure your package.json
includes this property:
"type": "module"
To start or stop noclipping for a player you just have to emit the event to the player. You can do this from the clientside or serverside.
Action | Event |
---|---|
Start | noclip:start |
Stop | noclip:stop |
The events take no arguments, you just have to emit the event to the player.
When you have noclip enabled you have a few keys to move in different directions: (These directions are always computed from the direction you are looking with the camera)
Key | Description |
---|---|
W |
Moves forward. |
A |
Moves to the left. |
S |
Moves backwards. |
D |
Moves to the right. |
SPACE |
Moves upwards. |
LEFT CTRL |
Moves downwards. |
SHIFT |
Increases the speed. |
When you press SHIFT
in combination with one of the other keys (press them both at the same time), the speed you move at is much faster.