Add call_lua_events()

This commit is contained in:
2023-07-22 06:28:08 +03:00
parent 90113179d7
commit 33f2d2ba72
3 changed files with 41 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ class EventsSystem:
"onCarReset": [],
"onSentPing": [], # Only sync
"onChangePosition": [], # Only sync
"onPlayerDisconnect": [],
"onServerStopped": [],
}
self.__async_events = {
@@ -43,6 +44,7 @@ class EventsSystem:
"onCarDelete": [],
"onCarEdited": [],
"onCarReset": [],
"onPlayerDisconnect": [],
"onServerStopped": []
}