Jump to content

Recommended Posts

Posted

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;

 

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!

  • 2 weeks later...
Posted

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 .....

 

Posted

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...

Posted (edited)

Check this topic, it has good explanation and also typescript and JS boilerplates you can learn from.

Edited by Kopra
  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...