-
Notifications
You must be signed in to change notification settings - Fork 6
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
player.GetPlayerName() returns undefined #8
Comments
If i set in samp-node.json log_level: 4 And OnPlayerConnect: |
Use player.GetPlayerName(24); // 24 = The length of the string that should be stored (read this: https://open.mp/docs/scripting/functions/GetPlayerName) |
What about this? |
Same error and returns undefined. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, i tested OnPlayerConnect function
In result i got:
[Node] Player 0 connected
undefined
The text was updated successfully, but these errors were encountered: