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

Join the conversation

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

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