-
Git clone projet
-
Open a terminal in the folder where it is located JetbrainIDE-CitizenFX.
-
Execute the following command
npm i
and wait. -
Execute
npm install -g ts-node
-
Execute
npm install -g typescript
-
Once the dependencies install install execute the following command to start the generation of natives
npm run gta
ornpm run rdr3
ornpm run cfx
-
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.
-
Click on "+" for classpath and browse to "build" folder from step 7.
- Done. You can now access all the latest natives for FiveM directly into your code.
@CitizenFX (https://github.com/citizenfx/natives) @alloc8or (https://github.com/alloc8or/rdr3-nativedb-data)