Skip to content

What is JetbrainIDE-cfx.re ? It is a small tool that will allow any JetBrain software user to benefit from the self-completion of the natives of the cfx.re platform on their IDE. (RedM and FiveM)

License

ImBaphomettt/rage-lua-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JetbrainIDE-CFX.RE

TypeScript License OpenIssue LastReleases

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 gta or npm run rdr3 or npm run cfx

  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)