Coder Social home page Coder Social logo

altv-os-noclip's Introduction

Open Source - Noclip

Created by LeonMrBonnie

❤️ Support me by becoming a Patron
⭐ This repository if you found it useful!


Description

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.

Installing Dependencies / Installation

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"

Starting and stopping Noclip

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.

Using the noclip

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.

Other alt:V Open Source Resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.