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

sampGetLocalPlayerNickname crashes script #5

Closed
Akionka opened this issue Mar 27, 2020 · 1 comment
Closed

sampGetLocalPlayerNickname crashes script #5

Akionka opened this issue Mar 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Akionka
Copy link
Contributor

Akionka commented Mar 27, 2020

Calling sampGetLocalPlayerNickname crashes script
Error

[ML] (error) main.lua: cannot resume non-suspended coroutine
stack traceback:
	[C]: in function 'string'
	...86)\GTA San Andreas\moonloader\lib\SFlua\037-r1\init.lua:409: in function 'sampGetLocalPlayerNickname'
	...A San Andreas\moonloader\scripts\sf_lua_example\main.lua:7: in function <...A San Andreas\moonloader\scripts\sf_lua_example\main.lua:3>
[ML] (error) main.lua: Script died due to an error. (id:46)

Code

print(sampGetLocalPlayerNickname())
@imring imring added the bug Something isn't working label Mar 27, 2020
@imring
Copy link
Collaborator

imring commented Mar 27, 2020

Fixed 1a4e3b2

@imring imring closed this as completed Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants