#meow Posted April 13, 2019 Share Posted April 13, 2019 Hello, my server commands do not work Any added commands do not work, the server does not respond Code packages> index.js require('./give_weapon.js'); Code packages > give_wea pon.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 }); Link to comment Share on other sites More sharing options...
ENG1N3X Posted April 13, 2019 Share Posted April 13, 2019 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now