mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-04-05 15:36:03 +00:00
Move code from case to func;
Add events for cars: onCarDelete, onCarReset; Minor updates;
This commit is contained in:
@@ -28,7 +28,9 @@ class EventsSystem:
|
||||
"onPlayerJoin": [],
|
||||
"onChatReceive": [],
|
||||
"onCarSpawn": [],
|
||||
"onCarDelete": [],
|
||||
"onCarEdited": [],
|
||||
"onCarReset": [],
|
||||
"onServerStopped": [],
|
||||
}
|
||||
self.__async_events = {
|
||||
@@ -36,7 +38,9 @@ class EventsSystem:
|
||||
"onPlayerJoin": [],
|
||||
"onChatReceive": [],
|
||||
"onCarSpawn": [],
|
||||
"onCarDelete": [],
|
||||
"onCarEdited": [],
|
||||
"onCarReset": [],
|
||||
"onServerStopped": []
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user