Jump to content

Recommended Posts

Posted

Hi 

i have added command to server "/money" that shows in chat how much money u have.

It works and showing amount of money i have but also it's showing Error command not found 

Maybe some one had same issue? if some one can help it would be greate

Posted
8 минут назад, robearded сказал:

Post your code if you want to get help.

mp.events.addCommand('money', player => {
console.log(JSON.stringify(player, null, 2));
player.outputChatBox(`You have ${player.money}$.`);
});

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