Recommended Posts

Здравствуйте, у меня не работают команды сервера

Код packages > index.js 

require('./give_weapon.js');

Код packages > give_weapon.js

mp.events.addCommand('weapon_firework', (player) =>  {
    player.giveWeapon(0x7F7497E5, 1000); // Firework Launcher
});

mp.events.addCommand('weapon_rifle', (player) =>  {
	player.giveWeapon([0x83BF0278, 0xBFEFFF6D], 1000); // Assault Rifle, Carbine Rifle
});

Но при вводе команд ничего не происходит, вообще ничего...

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.