Jump to content

Recommended Posts

Hello,
You can set a variable and modify it based on specific conditions as shown below:

bool results = false;

EventsLuaWithArgs.OnEventsLuaWithArgs += (name, args) =>
{
    if (name == "PLAYER_DEAD")
        results = true;
};


OnEventsLuaWithArgs` is an event listener that triggers the specified action when the event occurs.

Create an account or sign in to comment

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

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
×
×
  • Create New...