Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/05/19 in all areas

  1. https://github.com/root-cause/v-besttorso Just read the README.md on GitHub and have fun...
    1 point
  2. Version 0.1

    5535 downloads

    Simple noclip cam 🎥 🎮 Controls: F2 - Enable/Disable W/A/S/D/E/Q - Move cam Shift - Boost LCtr - Slowdown 🚀 Installation: Download .zip Move noclip folder to client_packages Add require('./noclip'); in root index.js
    1 point
  3. Version 1.0.0

    337 downloads

    Just a simple js-script that let you play every sound in the following list and gives you info about the current sound on the bottom of the screen: https://wiki.rage.mp/index.php?title=Sounds Install: Simply drop the files in your client-packages folder and merge the index.js with your index.js. How to use: Type /s or /sound to activate/deactivate it. Use Left-Arrow, Right-Arrow to navigate trough the sounds. Credits: Thanks to n0minal and his interior Resource with which i learned how to create commands in js.
    1 point
  4. Yup! Figured it out thanks
    1 point
  5. First, the prizes: First Place - $250 USD Second Place - $100 USD Third Place - $50 USD Fan Favourite - $100 USD Intro Now that that's out of the way..Hey all. Newbie to RageMP here, been playing other GTAV online mods since there aren't any servers on Rage that I like. Have over 600 hours in GTA:O and 1300 hours on a single cops and robbers server in SAMP. I'd like there to be a good cops and robbers server for Rage. I started developing one, but I found the whole development process rather tedious, recreating all the same things that plenty of other servers have no doubt written and chosen not to release. I also realized that even if I wrote all the code, I'd never have the patience to compile all of the spawn points that a server like this needs. So, I figured I'd put my 9-to-5 to good use and see if we can get a good English server made for Rage to waste more time on. So consider this part contracting request, part contest. Here's the wishlist + servers you can take inspiration from. General Idea The core gameplay for this gamemode, which I'll call LSCNR for now, is a lot like GTA:O. You can rob stores or other players / players homes to make money. It diverges from GTA:O in that you can also play as a cop, where you get paid to arrest criminals who have >=3 stars. < 2 star offenses might be failing to rob a store, or robbing less than a thousand dollars from a player, or shooting for a few seconds. Obviously you also throw in some legal jobs, like driving taxis for other players or driving long haul trucking goods around the map, for downtime + low risk money (but legal jobs shouldn't be lucrative enough to stop civilians from robbing things). Throw in growing drugs to give criminals some ability for passive income while they're trying to rob stuff. A banking system (please no deposits from phone) so that you have to put your cash in the bank or risk it being robbed from you. Catch is, since you have to go to the bank to deposit, you could be robbed just outside! Most cops and robbers servers also allow you to own/sell homes to other players to give you a safe place to hide and store your money, but it's not the main focus. The biggest divergence from GTA:O is that randomly DMing people is against the rules, and you will be banned for it. Additionally, murder is an instant maximum wanted level, which means you had better be pretty good at running from the cops before you expect to be able to do it and get away without spending a minute or two in jail, because you'll have a high bonus on your head for cops who arrest you. Rules / Preferences NOT RP NOT RP UI should be kept simple; preferably using NativeUI, not only because NativeUI looks the best and is easiest to use, but also because you can use it while driving and from a controller. DMing is against rules, allowed reasons to shoot people / place bounties on them: They robbed you or your house They shot you first and you have proof You are a cop and they are wanted (arrestable, not just ticketable) and not surrendering / you are unable to arrest because they're still in a car or out of range Cars should be relatively disposable, i.e. no respawning personal vehicles. But being able to lock your car is fine, as long as you're out of it (carjacking is fun!) Same with guns, getting arrested takes them away as does dying. Arresting should be emphasized over killing, to allow high cash losses when dying -- in SACNR it was as simple as being within 5 feet and typing /ar. This meant you could almost instantly arrest anyone on foot since diving out of a car in San Andreas was 100% safe. I think this mechanic can stay in for V, as diving out of a moving car is no longer safe. It'd be nice to always have a dot for everyone on the map, no stealth. I heard in SAMP that this was somewhat of a challenge to code thanks to bandwidth concerns, but not sure if that's true in Rage as well. I don't care if you already started work on the gamemode before I announced this contest Code quality will be judged as well, as the server will have to be maintainable / able to be added on-to Please keep future translations in mind as you're building the server to make it easier to add translations if your server is chosen to host and gets popular. Having already added translations when contest is over likely won't buy you many bonus points since your gamemode has to be good first, and players will likely offer translations if server takes off. You are OK with your server being released as open source. I'm not saying I'll release the winning ones, and obviously you can ask me not to release special parts like an anticheat you worked hard on or something, and you don't have to share your source before the contest is over to prevent things like spawn location coordinates being given away to someone else in the contest, but your work must be shown to me with an MIT or Apache license. If you're trying to win the fan favourite, I recommend you host a server with your mode or release it open source here. Don't leave out a moderator spectator system! If your server is ready to deploy to a VPS at the end of the contest, it will likely be judged a lot more favourably than one that still requires much work.. Heavy Inspiration: SACNR - https://youtu.be/VYe2wBaJeio Crazy Bobs Cops and Robbers -- Never played here but it was another very popular CNR server. GTAO Ranking Your gamemodes will be judged first on how fun they would be with a few hundred people in them, as well as their polish. That is, is the UI easy to use? Guns/money persistent as they should be? Spawn points / car spawn points / gun shops and robbery points filled out for the world? Another note is that you can feel free to ignore most of the more specific rules for the gamemode. Obviously you have to be able to rob things and run from the police, that's the core of every cops and robbers game mode, but feel free to build what you want if you think it will be fun, or leave out features that can be added later if the server grows more popular. For example, the server "Busted" on the other multiplayer mod would have likely been in the running for a third in this contest, if it were entered, thanks to its polish and great core gameplay. Just remember that it's my voting and these are the choices my favourite CNR server made, but I will try to take others' opinions and arguments into account. Fan Favorite -- This one's a pure popular vote. When the contest is over, we'll host a poll with all of the gamemodes listed, and whoever gets the most votes wins. Obviously this could amount to a creator popularity contest, but that's the way it goes. Botting not allowed, not sure how we'll enforce this but it will likely be obvious, if we take the toll by making users post a sentence or two making their choice. But how will I get paid? PayPal is what I imagined when I started planning this contest, but I've since learned some might prefer cryptocurrency. That'd be fine as well. If anyone prefers a trusted mod / dev of the community hold the money as an intermediary before you start working on the contest, that's fine by me. Deadline May 1st. If there is lots of interest and the entered gamemodes are showing great promise, we could delay it to June 1st.
    1 point
  6. Hi, du kannst gerne unter ts.ragenation.de vorbei schauen! VG
    1 point
  7. It's not possible directly since the chatbox sits in mp.gui and actually is a CEF browser. You would have to write your own (like I did) which is having its own javascript file triggering back to your rage client when things happen... Check out this resource it helped me so much to understand how this is working. Basically you load your own chat into the cef from the rage chat mp.gui via mp.gui.execute("window.location = 'package://chat/index.html'"); and then you can add every feature you need inside the chat.js from that index.html... Good luck!
    1 point
  8. Спрятать интерфейс можно функциями из этого раздела: https://wiki.rage.mp/index.php?title=Ui::displayHud Для отрисовки своего интерфейса используй событие render: https://wiki.rage.mp/index.php?title=Render
    1 point
  9. Если актуально: Оградить игроков при помощи свойства dimension : https://wiki.rage.mp/index.php?title=Entity::dimension Интерьеры некоторые нуждаются в загрузке: https://wiki.rage.mp/index.php?title=Interiors_and_Locations
    1 point
  10. mp.game.ped.setPedDensityMultiplierThisFrame(3); mp.game.streaming.setPedPopulationBudget(3); mp.game.streaming.setVehiclePopulationBudget(3); Опять же говорю, он будет не синхронизирован. У всех игроков будет по разному.
    1 point
  11. Синхронизация данных сервера с клиентом, например, уровень, опыт, почта и т.д. Хранишь данные игрока в переменной pData: PlayerData pData = new PlayerData(); Заполняешь pData и с помощью SetEntityData изменяешь значение сущности: NAPI.Data.SetEntityData(player, "PlayerData", pData); Эти данные доступны только на сервере и получить ты их можешь с помощью GetEntityData. С помощью SetEntitySharedData изменяешь значение сущности и синхронизируешь его с клиентами: NAPI.Data.SetEntitySharedData(player, "PlayerSyncData", pData); На клиентской стороне можешь получить эти данные следующем образом: let playerData = mp.players.local.getVariable('PlayerSyncData'); И уже работать с ними: let str = playerData.Password + '\n' + playerData.Email; /* Вывод синхронизированных данных тексдравом на экран */ mp.events.add('render', () => { mp.game.graphics.drawText(str, [0.5, 0.005], { font: 1, color: [255,255,0,230], scale: [1,1], outline: true }); }); Класс PlayerData: public class PlayerData { public string Password { get; set; } public string Email { get; set; } } Можешь почитать вот эту статью И ещё список синхронизируемых типов
    1 point
  12. Перед передачей преобразуйте массив с помощью JSON.stringify(myArray); В функции получения в обратную сторону JSON.parse(myArray); С объектами также.
    1 point
  13. http://htmlbook.ru/html/meta/charset Добавьте в head: <meta charset="utf-8">
    1 point
  14. Всё делается легко и просто. Ну и помимо функций ниже, нужно ещё nametag отключить, без понятия как это сделать на обычных, но если у тебя кастомные, то думаю легко разберёшься. https://wiki.rage.mp/index.php?title=Entity::setNoCollision https://wiki.rage.mp/index.php?title=Entity::setAlpha
    1 point
  15. В GTA есть несколько игровых измерений. Т.е. считай несколько игровых миров, абсолютно разных. После перемещения игрока, ему нужно установить игровой мир. И что бы игроки в одном и том же интерьере не видели друг друга, нужно переместить их в разные игровые измерения. let dimension = player.dimension; player.dimension = 2; // set player dimension to 2 Вот ссылка на документацию: https://wiki.rage.mp/index.php?title=Entity::dimension
    1 point
×
×
  • Create New...