Jump to content

[C# Server-Side] Events+Commands at Runtime 1.0.0

   (2 reviews)

3 Screenshots

About This File

Github page: https://github.com/robertnisipeanu/ragemp-server-events



OOP Implementation of the RAGEMP server events (so you don't have to use [Command] or [ServerEvent] annotations). It allows you to add event handlers and commands at runtime.

How to use

  1. Copy /client_packages/cs_packages/CustomCommands.cs to your server client resources (server-files/client_packages/cs_packages).

  2. From folder 'server' import Delegates.cs and Events.cs into your server-side project.

  3. Add using robearded; at the top of the files where you want to use my API.

  4. Use Events.*EventName* += EventHandler; to add an event handler and Events.AddCommand("*commandName*", CommandHandler); to add a command handler.

Added events

  • OnPlayerReady(Client client) -> This event is not available by default on the C# API

If any other events will be custom implemented they will be added here ^


You can find an example inside the 'example' folder.

Need help?

Please do not contact me if you didn't followed the above steps, I'm not gonna tell you again the steps in private when you have them here.

If you need any other help, feel free to contact me on Discord at @rumble06#4127 or on RAGE.MP Forums at https://rage.mp/profile/45121-robearded/

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


   1 of 1 member found this review helpful 1 / 1 member

Thank you, looking for something like that ❤️

Link to review

   1 of 1 member found this review helpful 1 / 1 member

ok I better take


Upd: 1st installation step tells I better don't

Response from the author:

We got to do what we have to do

Link to review
  • Create New...