Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/01/20 in all areas

  1. https://wiki.rage.mp/index.php?title=Browser::Browser Is that example too complicated?
    1 point
  2. Funny enough the page about making commands has an example you need. https://wiki.rage.mp/index.php?title=Events::addCommand Please read this especially the Handler function parameter and you'll see why yours doesn't work. Don't leave the page until you understand it
    1 point
  3. mp.events.addCommand("mute", (player, _, target, ...reason) => { if(player.admin >= 3) { let newTarget = functions.functions.findPlayerByIdOrNickname(target); console.log(newTarget); let newReason = reason.join(' '); if(target == null) return player.outputChatBox(`!{32a852}[USAGE]: !{ffffff} /mute [Player] [Reason]`); if(newTarget.muted === false) { if(reason == null) return player.outputChatBox(`!{32a852}[USAGE]: !{ffffff} /mute [Player] [Reason]`); newTarget.muted = true; player.outputChatBox(`!{b82e2e}[ADMIN]: ${newTarget.name} muted!`); newTarget.outputChatBox(`!{b82e2e}[ADMIN]: Muted by ${player.name} Reason: ${newReason}`); } else { newTarget.muted = false; newTarget.outputChatBox(`!{b82e2e}[ADMIN]: unmuted.`); } } else { player.outputChatBox(`!{b82e2e}You are not admin!`); } }); For example:
    1 point
  4. You already have player.position. https://wiki.rage.mp/index.php?title=Entity::position
    1 point
  5. This is a small guide on how to install RAGE Multiplayer correctly. If you have any questions or issues, post a thread in our support section. Step 1 The first thing you have to do is download RAGE Multiplayer. You can do that by clicking here. Save this file anywhere on your computer. Step 2 Open the file. This will open the installer. You will first be met by our license agreement screen, which you have to read through and accept if you want to continue. Step 3 After clicking on the 'I Agree' button, you will now be prompted to enter the location you want to install RAGE Multiplayer in. We recommend that you install RAGE Multiplayer anywhere other than your GTA V directory. By default it will select your OS drive and install it in a separate folder. You can either manually type a location or click on the 'Browse' button if you want to navigate to a different location (1). Once you're done, click on 'Install' (2). Step 4 It will automatically download all required files and install RAGE Multiplayer for you. This will also automatically create a shortcut on your desktop. Once the installation has finished, click on 'Next'. Step 5 The installation has now finished. You can uncheck the box (1) if you do not want RAGE Multiplayer to automatically start after you close the installation. Click on 'Finish' (2) when you're ready to finish the installation. Step 6 Double click the shortcut on your desktop to run RAGE Multiplayer. It will run the updater and update your game if necessary. Step 7 RAGE Multiplayer is now ready to be used. You can click on the 'Settings' button to change your nickname or GTA V directory. Step 8 That's it! You're ready to play RAGE Multiplayer.
    0 points
×
×
  • Create New...