natives-ragemp

1.42.0 • Public • Published

RAGEMP Client Natives

NPM version

This is a util package providing hash lists of GTA V's natives to use on the client side of RAGE MP scripts.

Install

npm install --save natives-ragemp

Example

A little example to show you how to get infinite ammo:

const NATIVES = require('natives-ragemp');
 
const weaponHash = NATIVES.WEAPON.GET_SELECTED_PED_WEAPON(player.handle);
mp.game.graphics.notify(`Result: ${weaponHash}`);
NATIVES.WEAPON.SET_PED_INFINITE_AMMO(player.handle, true, weaponHash);

Roadmap

Only JS for now, I'll probably do a TypeScript one based on the work of CocaColaBear or Pet-Platoon.

Package Sidebar

Install

npm i natives-ragemp

Weekly Downloads

0

Version

1.42.0

License

MIT

Last publish

Collaborators

  • mcfloy