Search the Community
Showing results for tags 'api'.
Found 2 results
-
Can you guys add the HAS_PED_BEEN_DAMAGED_BY_WEAPON native as a javascript function like those in Client-side functions? For some reason calling this native (hash 0x2D343D2219CD027A) using mp.game.invoke seems to not work at all. It was supposed to return true/false but instead it just returns the second parameter passed to the invoke() function.
-
- native
- javascript
-
(and 1 more)
Tagged with:
-
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)
