Jump to content
RAGE Multiplayer Community

Search the Community

Showing results for tags 'Client-side'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RAGE Multiplayer
    • Announcements
    • Discussion
    • Suggestions
    • RDR2 Multiplayer
  • Scripting
    • Scripting
    • Resources
  • Community
    • Support
    • Servers
    • Media Gallery
  • Non-English
    • Русский - Russian
    • Français - French
    • Deutsch - German
    • Espanol - Spanish
    • Română - Romanian
    • Portuguesa - Portuguese
    • Polski - Polish

Categories

  • Scripts
  • Gamemodes
  • Libraries
  • Plugins
  • Maps
  • Tools

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Facebook


Youtube


Skype


Web


VK

Found 20 results

  1. Hey there. I started developing a client-side user interface, and I had problems with custom fonts. I included my custom fonts in the CSS file: @font-face { font-family: Gabriela; src: url(../Fonts/Gabriela-Regular.ttf); } @font-face { font-family: FontAwesome; src: url(../Fonts/fontawesome-webfont.ttf); } * { font-family: Gabriela; } .dws-input::before { font-family: FontAwesome; content: "\f007"; position: absolute; font-size: 30px; padding: 25px 0 0 0px; color: white; } In the browser, all the fonts look great, but when I started th
  2. Hello. I've been meddling around with the RageMP API and I've learned most of it myself with the help of the discord members. Shoutout to Xabi, Sake and everyone else for helping me out with this language. Anywho I've come to realise that when I had started out there was nothing that would guide me through the process of making a server or creating the script for that matter. So here I bring you a YouTube playlist of the RageMP C# language tutorial. It is still under progress but I keep uploading new tutorials daily. And I mostly describe most of the elements so the videos mig
  3. I want to make the player look in a certain direction, but I can not do this with the 'gameplay' camera, and I do not need to create a new 'default'. How to be this will only work with the new 'default' camera, if you use the 'gameplay' camera, you can’t set the position for viewing. Help pls mp.events.add("setPlayerCameraInPos", (x, y, z) => { let newCamera = mp.cameras.new("gameplay"); // get the forwarding vector of the direction you aim with the gameplay camera as Vector3 // newCamera.setRot(x, y, z, 2); // Does not work newCamera.pointAtCoord(x, y, z); // Does not
  4. ambn

    ZoneManager

    Version 0.0.1

    104 downloads

    RageMP-ZoneManager A very useful client-side system which let you create four squares or hexagons in any shape like colshapes which support Z axis GIT REPO Why i needed something like this I was creating a traffic system which needed me to be able to check if a guy entered any crossroads and colshapes wasn't the thing i wanted + i wanted to sell farms by their shape and some of them wasn't shaped exaclty foursquare and i needed a little more, so i craeted this script to be able to make those things possible easily. Features You can create 4 types of zone which are d
  5. I write the basic code in my solution project (example from wiki) and start the server, after spawn, it should output the notify but it does not output it. Please, help. log output The invoked member is not supported in a dynamic assembly. System.Private.CoreLib at System.Reflection.Emit.InternalAssemblyBuilder.get_Location() The invoked member is not supported in a dynamic assembly.
  6. I want use other dll in my client-side project (C#), but when i start server, i receiv errors in clientside_cs.txt CS0246: The type or namespace name 'Contracts' could not be found (are you missing a using directive or an assembly reference?) -> C:\RAGEMP\client_resources\127.0.0.1_22005\cs_packages\AccountScript.cs:0 Can i use other dll in my client-side?
  7. Is there a function to change the Head Overlay on the client side? I want to change the ped but I don’t see the result, although I found this function in the wiki on the client-side functions. Wiki link: https://wiki.rage.mp/index.php?title=Player::setHeadOverlay
  8. On 'client_packages/index.js': var loadingBrowser = mp.browsers.new("package://loading.html"); mp.gui.cursor.show(true, true); Based on my analysis, this should show the HTML content to the client as it enters the server, however, nothing happens.
  9. When working with the client side, I encountered errors and do not know how to fix this. When connecting to my server, the following errors occur: JS # 10 startup error, data storage error # 4. Left only one line on the client: mp.gui.chat.push('Hello World')
  10. Version 1.0.1

    339 downloads

    Internet radio over colshapes using CEF. Scope of application: custom clubs, interiors. Default location is the Galileo Observatory (behind the monument). Default radio station - Wacken Radio (DE). Installation: I. Put server files to: server-files\packages\yourGameMode II. Add require('./rStreamColshapes'); to your server's index.js III. Put client files to: client_packages then edit your client's index.js and add require('./rStream'); To change radio stream url, edit index.html here: client_packages\cef\rStream\index.html GitHub
  11. Version 1.1.0

    814 downloads

    Clock speedometer JS client-side
  12. Los

    CEF Boilerplate

    CEF Boilerplate This is a boilerplate that will make your development proccess easier. It has a workflow that works like a website development, but, adapted for UI development. Built with Gulp + Webpack + Babel + SASS + ES6 Features: Focused on performance, lightweight. Made to be maintainable and SCALABLE. Small, medium or big projects, doesn't matter how much components, it will be easy to maintain. Easy for integrating any framework like Vue or React. Hot reload Local development: Run npm install Run gulp The index.html inside th
  13. В целях изучения разбираю примеры уже готовых серверов, и появился вопрос, как лучше поступать с UI через CEF ? Использовать единый html в котором собрать все элементы интерфейса и управлять ими изнутри, те в одном html будет к примеру компонент и чата и спидометра. Или инициализировать несколько CEF, допустим в один элемент CEF закинуть chat.html, и по верх него еще один элемент с CEF только уже с spedometr.html ? В чем плюсы и минуты того и другого?
  14. Hey, just started with RageMP scripting and wonder if its possible to let the Game load the compiled Assemblys instead of the raw .cs files for C# client-side scripts. If its not possible, are there any plans to support this in future releases? Thanks in advance and thanks for RageMP - comparing to some other MP mods the development feels way more "natural"!
  15. Hello. I have a problem to make a GUI on client side, which will trigger a function in server side file. Can you explain me step by step how to make this on example: Write cmd "/gui" and in this moment on my screen will be displayed a simple window GUI with one button and when I click it, he trigger server side function with message line: console.log("It works"). It will be very helpful for me to understand how works rage mp triggering and gui design. Or if this is too much for you community, will be okay to tell me, which functions should I use to make this. Greetings May
  16. Hello, since I'm from sa-mp i obviously only know the server-side scripting. I already did some stuff like MySQL-connection, different disconnecting messages (depending on exitType) and so on. To get all the abilities from RageMP I (of course) also want to use the client-side scripting. First, I just want to get myself in and do stuff like mp.gui.chat.colors = true; mp.game.player.setHealthRechargeMultiplier(0.0); Both things are client-side functions. So, how to start with client-side scripting, which file(s) do I need to create and where to put them?
  17. Короче пишу вот такой вот код на клиент-сайде: mp.game.player.setMoney(100); Выходит ошибка: mp.game.player.setMoney(100) is not a function При чём объект найден, а сама функция нет. На Вики прописана https://wiki.rage.mp/index.php?title=Player::setMoney, как player.setMoney(), но так она тоже не работает, не найден объект.
  18. Короче, в CEF можно вывести все. Но есть ли какие-то диалоги по типу диалога Ammunation или Pay'n'spray? Это через CEF не стоит делать. Ранее было упоминание, что будет GUI из GTA Online, но как его запустить, если оно есть?
  19. How to activate cursor? I found function cursor.visible but how it to use? cursor.visible=true cursor.visible(true); /* These strings is not working */
  20. Hello, I started some days ago scripting a new server, lot of information is missing or need to be found in some external examples, but anyway, the most part I found it. But when started with clientside, I can't understand the way it works. So then, from JS called from HTML, you need to use mp.triggers(). Ok. If you call from (for example) client package "Test", file "Index.js", you can use mp.game.player object to access to the local player that triggered that event, ok. But the weird thing is, and my questions are : 1. In the Wiki, there are two sections on player co
×
×
  • Create New...