ERROR: command not found

Recommended Posts



I am new on rage mp, I looked on the wiki, i made a command to heal my self in commands.js file in packages:

mp.events.addCommand('hp', (player) => {
    player.health = 100;

The command works good in game, but the chat response is "ERROR: Command not found."

Can someone help me please with this problem ?




FIX: Change the conf.json. 

    "maxplayers" : 100,
    "name" : "RAGE:MP Unofficial server",
    "gamemode" : "freeroam",
    "stream-distance" : 500.0,
    "announce" : true,
    "csharp" : "enabled", // change this value to "disabled"
    "port": 22005
Edited by ener

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.