ener

ERROR: command not found

Recommended Posts

Hello,

 

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 ?

 

Thanks

 

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

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.