mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
tweak(server/players): Commented getPlayers command for debug
This commit is contained in:
1 parent
044f5ba39c
commit
08e477f360
1 file changed
+8
-7
@@ -28,13 +28,14 @@ on('playerDropped', () => {
|
||||
mainLogger.info(`Unloaded NPWD Player, source: (${_source})`);
|
||||
});
|
||||
|
||||
RegisterCommand(
|
||||
'getPlayers',
|
||||
() => {
|
||||
playerLogger.debug(Players);
|
||||
},
|
||||
false,
|
||||
);
|
||||
// Can use this to debug the player table if needed. Disabled by default
|
||||
// RegisterCommand(
|
||||
// 'getPlayers',
|
||||
// () => {
|
||||
// playerLogger.debug(Players);
|
||||
// },
|
||||
// false,
|
||||
// );
|
||||
|
||||
on('onServerResourceStart', async (resource: string) => {
|
||||
if (resource === GetCurrentResourceName()) {
|
||||
|
||||
Reference in new issue
Block a user