Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console error every time the user disconnects #7

Open
SneakyAF opened this issue Jun 21, 2023 · 3 comments
Open

Console error every time the user disconnects #7

SneakyAF opened this issue Jun 21, 2023 · 3 comments

Comments

@SneakyAF
Copy link

image
I'm getting this error every time the user disconnects. It appears that the xPlayer is nil at this point and thus the error occurs.

@Llama-Palooza
Copy link

Was this ever resolved?

@icecubepiso
Copy link

Just go to bridge/esx/client and move TriggerServerEvent("pickle_prisons:initializePlayer") from esx:playerLoaded to esx:onPlayerSpawn event, and comment or delete playerLoaded function
All is in one file

@SneakyAF
Copy link
Author

Just go to bridge/esx/client and move TriggerServerEvent("pickle_prisons:initializePlayer") from esx:playerLoaded to esx:onPlayerSpawn event, and comment or delete playerLoaded function All is in one file

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants