change TriggerClientEvent to take object, not string, and add TriggerClientEventJson

This commit is contained in:
Lion Kortlepel
2022-03-17 18:48:50 +01:00
parent 0466ae55a4
commit be498be661
4 changed files with 18 additions and 7 deletions

View File

@@ -548,7 +548,7 @@ TConsole::TConsole() {
std::this_thread::yield(); // TODO: Add a timeout
}
if (Future->Error) {
beammp_lua_error(Future->ErrorMessage);
beammp_lua_error("error in " + mStateId + ": " + Future->ErrorMessage);
}
}
} else {