Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/06/18 in Posts

  1. Getting Started with Development ๐Ÿ›  ๐Ÿ”ฐ The easiest way is with no doubt to download the boilerplate / example project from GitHub.You can look at the example package that is included in there to figure out how everything works. Once you've ran the Package option in IntelliJ within the boilerplate, copy the contents of the client_packages folder that should now have appeared in the project folder to the server's client_packages folder. It's that simple? Is there some kind of catch? ๐Ÿค” Nope! There is no catch. All you need to get started is an IDE that supports Kotlin. I recommend JetBrain's IntelliJ IDEA due to its performance, flexibility and customization options. I'm super excited for what the simplicity of Kotlin will bring to the RageMP community and all of your creations that have been made just a tiny bit easier ๐Ÿ˜‰ (PS If you click on the header picture, it'll take you straight to the GitHub page for the library with more examples)
    3 points
  2. nice use of mods !
    1 point
  3. 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);
    1 point
×
×
  • Create New...