1.0.4 • Published 3 years ago

@vrpjs/client v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@vrpjs/client

A bridge for using FiveM vRP 1.0 in JavaScript.

Installation

It is done via the npm install command:

npm install @vrpjs/client

Usage

Note: This needs to be bundled to run using any module bundler of your choice, like webpack.

const { VrpProxy, VrpTunnel } = require('@vrpjs/client');

const vRP = VrpProxy.getInterface('vRP');
const vRPServer = VrpTunnel.getInterface('vRP');

RegisterCommand('noclip', () => {
    vRP.toggleNoclip()
    vRPServer._varyHunger(-100);
    vRPServer._varyThirst(-100);
});
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago