Jon Walker Posted March 24, 2022 Posted March 24, 2022 hey guys, Ive got a bit of a problem making commands and events, From (https://wiki.rage.mp/index.php?title=Getting_Started_with_Development). ive followed all the steps and i think area where i messed up on is "Setting up API auto complete (TypeScript)". ive installed these; npm install --save-dev https://github.com/CocaColaBear/types-ragemp-s/tarball/master npm install --save-dev https://github.com/CocaColaBear/types-ragemp-c/tarball/master thru the Powershell into my 'server-files' folder but when i launch the server and load it up, the commands and events(spawn points) dont work. can someone help me out? cheers!
trolovecro Posted April 2, 2022 Posted April 2, 2022 Try next... 1. Open your server folder. 2. Open cmd with typing "cmd" in navitation input OR open cmd and type cd c:/somewhere/ragemp/server //type in your route 3. type in again npm instal --save-dev .....
trolovecro Posted April 3, 2022 Posted April 3, 2022 Also watch out for "devDependencies": { "@types/ragemp-c": "https://github.com/CocaColaBear/types-ragemp-c/tarball/master", "@types/ragemp-s": "https://github.com/CocaColaBear/types-ragemp-s/tarball/master" }, IN package.JSON in your root directory of your server. But I think that should be implemented auto...
Kopra Posted April 4, 2022 Posted April 4, 2022 (edited) Check this topic, it has good explanation and also typescript and JS boilerplates you can learn from. Edited April 4, 2022 by Kopra 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now