June 10, 20241 yr 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