Skip to content

CommunityOx/rage-lua-natives

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rage-lua-natives

TypeScript License OpenIssue

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

Special Thank

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

About

Lua types generation for natives used in FiveM/RedM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • TypeScript 100.0%