Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Mcfloy/natives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Natives list for RAGE:MP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published