Mcfloy Posted January 15, 2018 Share Posted January 15, 2018 (edited) For those you want to use the natives functions here's a file that will help you. Link : https://github.com/Mcfloy/natives To use it simply add it on your folder and type : const NATIVES = require('folder/natives'); Only JS for now, I'll probably do a TS one based on the work of CocaColaBear or Pet-Platoon. (A little example to show you how to get infinite ammo) var 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); Edited January 21, 2018 by Mcfloy Fix link 2 1 Link to comment Share on other sites More sharing options...
WampiR Posted January 24, 2018 Share Posted January 24, 2018 Where can I find hashes for v1.42? Link to comment Share on other sites More sharing options...
Mcfloy Posted January 27, 2018 Author Share Posted January 27, 2018 Hashes are inside the index.js file. For more informations you can search "gta 1.42 translation table". Link to comment Share on other sites More sharing options...
WampiR Posted January 30, 2018 Share Posted January 30, 2018 Thx. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now