Skip to content

thelindat/rage-lua-natives

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JetbrainIDE-CFX.RE

TypeScript License OpenIssue LastReleases

Discord : https://discord.gg/Jjb2c8Q (No support)

How to use this tool to generate / regenerate CitizenFX native ?

Attention this project requires the installation of NodeJS on the machine where you want to run it

  1. Git clone projet

  2. Open a terminal in the folder where it is located JetbrainIDE-CitizenFX.

  3. Execute the following command npm i and wait.

  4. Execute npm install -g ts-node

  5. Execute npm install -g typescript

  6. Once the dependencies install install execute the following command to start the generation of natives npm run start

  7. Wait a few minutes, once the generation is finished nothing more to be written to a in your terminal, you will find a new folder named build, it is in this one that you find what you need.

  8. Make a new project in Intellij using EmmyLUA as SDK image

  9. Click on "+" for classpath and browse to "build" folder from step 7. image

image

  1. Done. You can now access all the latest natives for FiveM directly into your code.

image

preview

Special Thank

@CitizenFX (https://github.com/citizenfx/natives) @alloc8or (https://github.com/alloc8or/rdr3-nativedb-data)

About

Lua types generation for natives used in FiveM/RedM.

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 100.0%