Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/09/21 in Posts

  1. In the last period, an Italian RageMP community has emerged and this is the reason why I decided to create this topic. I think that when a community starts to emerge, it is necessary that the latter has a section in the native forum of the mod in order to communicate and expand the community itself (Italian one but even RageMP would expand). Another reason why I decided to create this topic is that the messages of the RageMP client have already been translated into Italian, so I was told that having achieved this goal, it would have been enough to create this topic and reach 30 likes to have an Italian section. So.. If you are interested in creating an Italian section, please like this post. And remember.. Italians do it better. RAGEMP ITALIA DISCORD: https://discord.gg/9G6wa4N
    1 point
  2. /save [name (optional)] command to save your/your vehicle's position and heading/rotation to a file just like in SA-MP. You can find the saved positions inside savedpos.txt on the server folder. Code: const fs = require("fs"); const saveFile = "savedpos.txt"; mp.events.addCommand("save", (player, name = "No name") => { let pos = (player.vehicle) ? player.vehicle.position : player.position; let rot = (player.vehicle) ? player.vehicle.rotation : player.heading; fs.appendFile(saveFile, `Position: ${pos.x}, ${pos.y}, ${pos.z} | ${(player.vehicle) ? `Rotation: ${rot.x}, ${rot.y}, ${rot.z}` : `Heading: ${rot}`} | ${(player.vehicle) ? "InCar" : "OnFoot"} - ${name}\r\n`, (err) => { if (err) { player.notify(`~r~SavePos Error: ~w~${err.message}`); } else { player.notify(`~g~Position saved. ~w~(${name})`); } }); }); What the output looks like: Position: -422.9187316894531, 1133.0765380859375, 325.8547058105469 | Heading: 344.207763671875 | OnFoot - No name Position: -411.07977294921875, 1180.73681640625, 325.0368957519531 | Rotation: 1.4606590270996094, 0.7490195631980896, 75.47509765625 | InCar - No name Position: -1087.9407958984375, 4912.0634765625, 214.6710968017578 | Heading: 222.96522521972656 | OnFoot - Altruist Camp
    1 point
  3. Description: We're going for an English text based Roleplay server with some unique rules/systems in our head. We're currently looking for 1 longterm experienced developer who is interested to be a part of a big project, and can lead a team of developers. You should also have experience with C# & JS. You would be working with another developer and a good team. PM me and we'll discuss everything. Programming Languages: C# You may add me here for more info Corleone#5354
    1 point
  4. Guten Tag zusammen. Aufgrund, dass ich mich nun aus der GTA RP Scene zurück ziehe hinterlasse ich euch das User Control System von mir. Macht was ihr wollt damit.... In diesen Sinne Viel Spaß damit. Requirements: Webserver MySQL server with MySQLi from the master branch or pdo from the pdo version branch Php 7.3 Github: Version 1.4.6: https://github.com/eodclan/User-Control-System/releases/tag/1.4.6 Version 1.4.8: https://github.com/eodclan/User-Control-System/releases/tag/1.4.8
    1 point
  5. This will add a scrollbar/chat history to your server. You can edit how much the chat history keeps but for now it's set to 30. Download Link Preview Installation Open the ragemp_scrollchat.zip and drag the contents into your client_packages folder. If you already have an index.js, copy/paste it into your current index.js file. Now you should be all ready to go. How can I change the chat history length? If you want to change how many messages are stored, go to chatUI/js/main.js and you'll see history_limit with a comment next to it at the top, change that number to how many messages you'd like to be kept in chat. If you have any questions about changing anything else in the chat such as font just ask and I'll do my best to assist.
    1 point
×
×
  • Create New...