Jump to content
RAGE Multiplayer Community

Search the Community

Showing results for tags 'Clientside'.

  • 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 21 results

  1. The idle or cinematic cam that becomes active after a certain time and constantly points to other things. can be easily deactivated. I'm going to post a snippet of code here to help you disable the IDLE camera (reset the idle timer). RAGE:MP Clientside Snipped: let IdleDate = new Date(); mp.events.add('render', () => { const dif = new Date().getTime() - IdleDate.getTime(); const seconds = dif / 1000; if (Math.abs(seconds) > 29.5) { mp.game.invoke(`0xF4F2C0D4EE209E20`); //Clear Idle Timer IdleDate = new Date(); } }); Have Fun
  2. I'm trying to add custom DLC packs for road mods on this server: GTA world based on RAGEMP. Whenever I add a DLC in the (client_resources/dlcpacks) it deletes itself. I was told this was not an accident, but instead done on purpose, why is that? basically the problem: OpenIV modifications work, but client_resources/dlcpacks .rpf files automatically delete themselves if it's not from the server.
  3. The print.ts snippet Information Problem Disadvantages Examples Sources 1. Information: Since 1.0 we have an object mp.console which helps us to send any information to the console (F11) There it's an interface interface ConsoleMp { logInfo(message: string, save?: boolean, saveAsync?: boolean): void; logWarning(message: string, save?: boolean, saveAsync?: boolean): void; logError(message: string, save?: boolean, saveAsync?: boolean): void; logFatal(message: string, save?: boolean, saveAsync?: boolean): void; clear(): void; reset(): v
  4. adri1

    SAMP Dialogs

    Version 1.0.0

    403 downloads

    SA-MP Dialogs for RAGE MP (C# clientside). This is my first resource so may contains bugs... You must enable C# clientside! Usage is simple: examples in Test.cs Dialog(string dialog_name, string dialog_caption, string dialog_info, string[] dialog_buttons, string[] dialog_list_items = null, string dialog_input = null, string dialog_password_input = null)
  5. Hi When I spawn or change the model of a vehicle from the clientside, in the console I get the following error. System.NullReferenceException: Object reference not set to an instance of an object. at void GTANetworkInternals.RemoteEventParser.Parse(Player sender, ulong eventNameHash, object[] args) The code works, the vehicle changes model and everything is fine, but the error appears for each model change, so I get the same error every time a user wants to buy a vehicle and choose the vehicle model. The spawn code is: auto.entity = mp.vehicles.new(mp.game.joaat(dataVe
  6. Hey guys, sorry for awkward question, is there a fundamental reason to transfer native js clientside to some kinda framework like webpack and etc? We've been working with my friend for a couple of months on nativejs and now the question stucked in my head. I was recommend to use react and / or other frameworks in order to run all the cef in one browser without destroys. Should I start panic much more if we decide to build more complicated systems with the prospect of development. I'm looking for the more light and clear ways of transferring or understanding frameworks if it's truly necessary.
  7. Introduction Hello, So I have decided I should make this tutorial about how to use CEF alongside RAGEMP to make interactable UI because I have spent some time understanding it from examples without a clear tutorial, I am going to explain how to interact between the CEF browsers and RAGEMP client, and how to send/receive information from and to server. This tutorial is targeting new comers in RAGEMP but who have background in scripting and know how to run and connect their server locally. So the main points will be: 1-What is CEF 2-Sending information from CEF to RAGEMP
  8. Du kennst du mit Coden in GTA V Roleplay aus ? Du bist zuverlässig ? Du hast Bock mit uns einen coolen GTA V Server aufzubauen? Dann melde dich bei uns ! Mail: [email protected] TS: 5.9.152.91 Voraussetzungen: Mindestens 18 Jahre! Erfahrung mit C# und Java Erfahrung mit MySQL Datenbanken! Teamfähigkeit! Wir freuen uns auf deine Bewerbung !
  9. Hi guys, yesterday I tried this code for client side js: mp.events.add("playerSpawn", () => { mp.gui.chat.push("You just spawned"); }); and its doesnt work. Just like "playerJoin" or other events on client side. Also i tried for "render" event,and its worked just fine. Can you explain why client side events wont work? (my script is added in index.js)
  10. Hi there, i've started recently with rage mp, developing on node. I've run into some problems with client side programming. This is my example code: require('./car/events.js'); mp.game.ui.setNewWaypoint(-400, 1300); mp.checkpoints.new(1, new mp.Vector3(-400,1150,325), 8, {color: [ 255,50,50,255], visible: true}) mp.events.add("playerEnterCheckpoint", (checkpoint) => { mp.game.fire.startScriptFire(-420, 1180, 325.8, 30, false); checkpoint.radius =+ 5; }); The waypoint and the checkpoint is visible, but the event doesn't seem to work. Attempts with other event
  11. Hey Guys, Ive started to code with Rage:MP for some days ago. Ive already a basic Server structure, but I need some information about Clientside coding with JS. So lets get started: How could I structure/organize my clientside code? Like how could the folder structure be and so on.. How can I create NativeUI with JS on Clientside ? For example if I created a colshape and marker somewhere, and only in this area should trigger the NativeUI in case i press E.
  12. Well, I've been stuck with a little problem for a while, I can get C# Server Side scripting working fully and have tested it but when it comes to client side I have a bit of a problem. I've created the "cs_packages" folder in the 'client_resources' folder. When it comes to actually loading the script which is in its own folder inside cs_packages and yes it is not compiled into a .dll file. The problem is when I connect to my local server it grabs all the dll packages inside the cs_packages folder but doesn't start my "Main.cs" script which has a little output with "Loading Clientside".
  13. XEGARE

    Vue.js SPA

    Hello. Is it possible to use SPA on Vue.js? I am a beginner and do not fully understand this, are there any examples? Handling events from the server on the client which is on vue?
  14. Hey! I've been busy developing an RP server lately, and i can get the Server-side working pretty good, but the time has come to start scripting client resources also. The problem is, that i can't find a tutorial or even a wiki page on how to start with the C# client side, because i don't want to code in Javascript, that would mean learning a new language and i don't want to go trough that hassle. So, can anyone explain to me how to make my first C# client side server resource? The only one who have been doing these kinds of tutorials were Stuyk, but he had removed every video regarding this to
  15. Version 2.1

    474 downloads

    With this script you can easily create custom timer. The file is fully commented and should be easy to understand. The file in Shared is required - and then use either the file in Server or in Client depending on where you are using it. You have to use the constructor to create the timer. Examples: Examples: // Yes, the method can be private // private void testTimerFunc(Client player, string text) { NAPI.Chat.SendChatMessageToPlayer(player, "[TIMER] " + text); } void testTimerFunc() { NAPI.Chat.SendChatMessageToAll("[TIMER2] Hello"); } [Command("ttimer")] public
  16. Знание каких языков требуется для создания сервера и игрового мода? Так же, как делается маппинг? Ничего не собираюсь делать, просто интересен весь этот процесс. Какие языки используют для написания клиентских и других частей сервера. Какие языки можно использовать и какие используете вы. Как пишется игровой мод. Как делается маппинг?
  17. 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')
  18. Version 1.0.0

    165 downloads

    This TypeScript library allows you to request the current clientside FPS. Licensed under the MIT License (see README.md for more info). Sincerely, ~Vincent Used icon: https://www.shareicon.net/screen-monitor-93177
  19. Hey there, folks! I recently asked myself, how I can retrieve the current FPS of a client, because there is no inbuild function at all. Here's a small snippet for retrieving the current FPS in TypeScript (if you want to use it in JS just compile it with a TS transcompiler or adapt it 😐). /* Copyright 2019 Vincent Heins/TheMysteriousVincent Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mo
  20. Hi all, I'm having a bit of the issue with getting front of player cords. When I run the scrip the angle seems to be random.... let x = mp.players.local.position.x; let y = mp.players.local.position.y; let z = mp.players.local.position.z; let nx = x + (1.2 * Math.sin(mp.players.local.getHeading() + 180)); let ny = y + (1.2 * Math.cos(mp.players.local.getHeading() + 180)); let sadsad = mp.cameras.new("authCam", new mp.Vector3(nx, ny, z + 0.7), new mp.Vector3(0, 0, 0), 40); sadsad.pointAtCoord(x, y, z + 0.7); sadsad.setActive(true); mp.game.cam.renderScriptCams(true, false, 0, true, fal
  21. Hello! Is there any way to create a client-side script that would use a seperate server to download client data? Kind of fetching the files form a webserver then move them to their proper location, so the OOTB rageMP functionalities would just validate these file and the download won't drain the resources from the main (game) server itself?
×
×
  • Create New...