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


Facebook


Youtube


Skype


Web


VK

Found 5 results

  1. ItzMartriX

    Requesting C# Events in Javascript

    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?
  2. pandov

    Graphics.DrawSprite on C#

    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.
  3. Is there a way to tigger from Serverside JS to SS C# and back? Without tigger to Clientside and then back.
  4. 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?
  5. Version 1.1

    213 downloads

    With this script you can easily create custom timer. The file is fully commented and should be easy to understand. You have to use Timer.SetTimer 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 // Timer.SetTimer(() => testTimerFunc(player, "hi"), 1000, 1); // Normal without parameters // Timer.SetTimer(testTimerFunc, 1000, 1); // Without existing method // Timer.SetTimer(() => { NAPI.Chat.SendChatMessageToPlayer(player, "[TIMER3] Bonus is da best"); }, 1000, 0); }