Skip to content

Commit 3056131

Browse files
committed
fix: ReferenceError: Cannot access 'playerPed' before initialization
1 parent af70ead commit 3056131

File tree

1 file changed

+1
-1
lines changed
  • server-data/resources/[phone]/npwd/resources/dist/client

1 file changed

+1
-1
lines changed

server-data/resources/[phone]/npwd/resources/dist/client/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
}
484484
createAnimationInterval() {
485485
this.animationInterval = setInterval(() => __async(this, null, function* () {
486-
const playerPed = playerPed();
486+
const playerPed = PlayerPedId();
487487
if (this.onCall) {
488488
this.handleCallAnimation(playerPed);
489489
}

0 commit comments

Comments
 (0)