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

Fix use on nil value #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BackrndSource
Copy link

@BackrndSource BackrndSource commented Apr 22, 2019

Im having this issue:

Error running system event handling function for resource esx_thief: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_thief/server/main.lua:47: attempt to compare number with nil
stack traceback:
        @esx_thief/server/main.lua:47: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>

This will fix it

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

Successfully merging this pull request may close these issues.

1 participant