Sa1ln Posted July 23, 2019 Posted July 23, 2019 (edited) Because of the RageMP downtime for the 1.47 update, i wanted to make a tutorial. Here it is! Sorry for my english, im German Step 1: Downloading Stuff Visual Studio Code: https://code.visualstudio.com NodeJS (Download the Windows Installer): https://nodejs.org/en/download/ When you got everthing, install it. Step 2: Setting up development environment Go to C:/RAGEMP/server-files/packages (or where you installed RAGEMP). Rightclick and Select "Open with Code". Minimize the Window. Now Shift+Rightclick in the /packages directory and select "Open Powershell". Type in npm init You can leave everything blank at the moment. Now, type in: npm install --save-dev github:CocaColaBear/types-ragemp-s#master This will install the types for auto-complete. Once it's done, you can close powershell, and restart VSC. (Make sure you open VSC with rightclick in /packages.) Now you have an nice workspace to getting started! (Optional) Setting up for client-side For client-packages its almost the same. But, here for you: Go to C:/RAGEMP/server-files/client-packages(or where you installed RAGEMP). Rightclick and Select "Open with Code". Minimize the Window. Now Shift+Rightclick in the /packages directory and select "Open Powershell". Type in npm init You can leave everything blank at the moment. Now, type in: npm install --save-dev github:CocaColaBear/types-ragemp-c#master This will install the types for auto-complete. Once it's done, you can close powershell, and restart VSC. (Make sure you open VSC with rightclick in /client-packages.) Now you have the same for client-side! For Questions, PM me or DM on Discord (@Elias#2919) Edited July 24, 2019 by Sa1ln changed title 3
Philo Posted October 31, 2019 Posted October 31, 2019 (edited) Is this normal? Edited October 31, 2019 by Philo Edit2
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