mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
refactor(server/player): Added player management system internally
This system stores loaded players in maps handled entirely by NPWD. This should entirely remove the ESX dependency on practically everything.
This commit is contained in:
1 parent
de53b12763
commit
e5fac800ee
8 files changed
+193
-134
No files matched your search
@@ -111,7 +111,7 @@ async function Phone(): Promise<void> {
|
||||
}
|
||||
|
||||
// triggerd when the player is ready
|
||||
onNet(events.PHONE_IS_READY, fetchOnInitialize);
|
||||
onNet(events.PLAYER_IS_READY, fetchOnInitialize);
|
||||
|
||||
AddEventHandler('onResourceStop', function (resource: string) {
|
||||
if (resource === GetCurrentResourceName()) {
|
||||
|
||||
Reference in new issue
Block a user