mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
tweak(resources/main): getPlayerIdentifirs use
This commit is contained in:
1 parent
5d456d18c1
commit
a424a67f05
2 files changed
+2
-14
No files matched your search
@@ -26,13 +26,8 @@ on('playerJoining', async () => {
|
||||
|
||||
let identifier = null;
|
||||
|
||||
for (let i = 0; i < GetNumPlayerIdentifiers(pSource); i++) {
|
||||
const identifiers = GetPlayerIdentifier(pSource, i);
|
||||
|
||||
if (identifiers.includes('license')) {
|
||||
identifier = identifiers.split(':')[1];
|
||||
}
|
||||
}
|
||||
const identifers = getPlayerIdentifiers(pSource);
|
||||
identifier = identifers[1].split(':')[1];
|
||||
|
||||
console.log('PHONE IS READY: ', identifier);
|
||||
|
||||
|
||||
Reference in new issue
Block a user