mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +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})`);
|
mainLogger.info(`Unloaded NPWD Player, source: (${_source})`);
|
||||||
});
|
});
|
||||||
|
|
||||||
RegisterCommand(
|
// Can use this to debug the player table if needed. Disabled by default
|
||||||
'getPlayers',
|
// RegisterCommand(
|
||||||
() => {
|
// 'getPlayers',
|
||||||
playerLogger.debug(Players);
|
// () => {
|
||||||
},
|
// playerLogger.debug(Players);
|
||||||
false,
|
// },
|
||||||
);
|
// false,
|
||||||
|
// );
|
||||||
|
|
||||||
on('onServerResourceStart', async (resource: string) => {
|
on('onServerResourceStart', async (resource: string) => {
|
||||||
if (resource === GetCurrentResourceName()) {
|
if (resource === GetCurrentResourceName()) {
|
||||||
|
|||||||
Reference in new issue
Block a user