Search the Community

Showing results for tags 'c'.



More search options

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

  1. Who we are A small but ambitious team thrilling to deliver top service and best role-playing game experience to all gamers as ourselves. We are working hard to fulfill our mission and are currently looking for a Server Developer (RAGE MP) longing to become a part of our group. Job Description As a Server Developer you will be responsible for fixing bugs and maintenance of the code. A perfect candidate will be a flexible gamer ready to take on other (sometimes emerging) tasks. Your daily activity will involve C# or NodeJS knowledge as well as mapping skills. Previous experience with Rage MP server is a great asset, but not a mandatory requirement. Nice to have Experience with multiplayer games. Being an active gamer. If you are ready to take up this challenge, send us your application! What we offer · Becoming a part of interesting project · Competitive salary · A lot of challenges and ambitious tasks · Pleasant and joyful atmosphere · Further cooperation on both counterparties agreement No need to send your CV. Please contact us in Discord (Just_Frozen#9097) and we will talk about your experience and expectations. Cheers!
  2. Hi. Why this script it's not working? int ped = Ped.CreateRandomPed(pos.X, pos.Y, pos.Z); Result: return null;
  3. Once I faced a problem with NAPI.World.GetTime and didn't find on it the adequate answer. Can anyone help my code. Bonus will make a simple server time system class server_side : Script  { // The global variables that will be replace our GetTime int serverHour = 6; int serverMin = 0; int serverSec = 0; // A method that, when accessed, will change the time on the server private void server_Time(int hour, int minute, int second) { NAPI.World.SetTime(hour, minute, second); serverHour = hour; // ---------------------------------- serverMin = minute; // save in our variable time serverSec = second; // --------------------------------- }  // Bonus code that creates server time (1 server minute = 20 seconds) async void time() { while (true) { serverMin++; NAPI.World.SetTime(serverHour, serverMin, 0); if (serverMin == 60) { if (serverHour >= 23) { serverHour = 0; serverMin = 0; NAPI.World.SetTime(serverHour, serverMin, 0); } else { serverHour++; serverMin = 0; NAPI.World.SetTime(serverHour, serverMin, 0); } } await Task.Delay(20000); } } [Command("time")] // command to know the current time on the server public void CMD_time(Client client) { if (serverMin < 10) { NAPI.Chat.SendChatMessageToPlayer(client, $"Current time {serverHour.ToString()}:0{serverMin.ToString()}"); } else { NAPI.Chat.SendChatMessageToPlayer(client, $"Current time {serverHour.ToString()}:{serverMin.ToString()}"); } } // Change the time on the server [Command("settime")] public void CMD_settime(Client client, int hrs, int min) { server_Time(hrs, min, 0); NAPI.Chat.SendChatMessageToPlayer(client, $"Time was change to {hrs}:{min}"); } // Event that the time worked [ServerEvent(Event.ResourceStart)] public void OnResourceStart() { NAPI.World.SetTime(serverHour, serverMin, serverSec); time(); // Cycle start time at the start of the server } sorry for my russian english xd i hope this will help u ❤️
  4. Hey Guys When i Add 'enable-clientside-cs ' File into my rage MP Folder i get Fatal error While im trying to Open My rage Any one knows this Problem ? And i cant get connect To ANy servers On rage While i have That Error
  5. Version 2.1

    458 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 void timerTesting(Client player) { // Lamda for parameter // new Timer(() => testTimerFunc(player, "hi"), 1000, 1); // Normal without parameters // new Timer(testTimerFunc, 1000, 1); // Without existing method // var timer = new Timer(() => { NAPI.Chat.SendChatMessageToPlayer(player, "[TIMER3] Bonus is da best"); }, 1000, 0); // Kill the timer // timer.Kill(); }
  6. How to make the implementation of auto indicators in C #?
  7. Hello, i downloaded this character creator by @rootcause and its pretty insane but i have the following question: I dont want it by a command like here with "/creator", i need an Event that i can call in C#. for ex. like : SendPlayerToCreator(player); or smth like that Is that possible?
  8. Hi guys! Can I use Graphics.DrawSprite() method and how? The wiki has a JS language description only. I want to make a C# program, and I need this function.
  9. Is there a way to tigger from Serverside JS to SS C# and back? Without tigger to Clientside and then back.
  10. Guten Abend zusammen. Ich Versuche mich derzeit Daran ein altes GT-MP Script zu RageMP/GTANetwork zu Konvertieren. Dabei stoße ich immer wieder auf kleine Problem, die ich bisher aber alle Lösen konnte. Aktuell stehe ich aber vor einem Problem, es geht dabei um folgende Funktion API.shared.startTimer Bisher konnte ich allerdings keine Vergleichbare Funktion in RageMP finden. Teilweise konnte ich mit folgendem Arbeiten. NAPI.Task.Run(() => { // Some code }, delayTime: 2000); Allerdings habe ich Aktuell folgenden Code bei GT-MP client.setData("usagetimer", API.shared.startTimer(1000, false, () => { ProgressBarService.ChangeProgress(client, count); if(count >= time) { InterfaceService.ProgressBarService.HideBar(client); ItemAction(client, player, item); API.shared.stopTimer(client.getData("usagetimer")); client.resetData("usagetimer"); API.shared.stopPlayerAnimation(client); return; } count++; })); Gibt es derzeit eine Möglichkeit dieses in RageMP umzusetzen?