Skip to content

Commit f6ad28b

Browse files
committed
remove some unused node dependency. and rework executing commands.
1 parent 453a87d commit f6ad28b

File tree

9 files changed

+696
-306
lines changed

9 files changed

+696
-306
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
3) Execute the following command `npm i ` and wait.
1515
4) Execute `npm install -g ts-node`
1616
5) Execute `npm install -g typescript`
17-
6) Once the dependencies install install execute the following command to start the generation of natives `npm run start`
17+
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`
1818
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.
1919
8) Make a new project in Intellij using EmmyLUA as SDK
2020
![image](https://user-images.githubusercontent.com/58150973/116157328-68852580-a70a-11eb-8ec9-7c51320f79bd.png)

cfx.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import {GamesType} from "./src/enum/GamesType";
2+
import {Main} from "./src/main";
3+
4+
console.log('Welcome to the native completion generator tool for Jetbrain IDEs for cfx.re projects.\n');
5+
6+
new Main.onEnable("build/CFX-NATIVE", GamesType.Cfx);

gta.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import {GamesType} from "./src/enum/GamesType";
2+
import {Main} from "./src/main";
3+
4+
console.log('Welcome to the native completion generator tool for Jetbrain IDEs for cfx.re projects.\n');
5+
new Main.onEnable("build/GTAV", GamesType.GTA);

0 commit comments

Comments
 (0)