How should I fix?
Hey !
Seems like the filed value
of data.current
is nil.
Could you send the script file so I can review it ?
sure!
https://drive.google.com/file/d/1-2S_vkj6lf8dbtjvpSZ5fEMyaxyxhmAs/view?usp=sharing
Please help me
I did manage to fix it, to do so you have to :
-
Add a
return false
to the IF condition at line 154 :
[client/main.lua]
-
Change Type for type (with a lower case ‘t’) between line 101 and 132 in [server/main.lua]
-
Comment the
['@job'] = '''
lines between line 101 and 132 in [server/main.lua]
Then remove theAND job = @job
from the SQL queries (you can see what the query looks like without it in the screenshot above) -
Add the same line as me (104) and change the lines 108 and 121 to use the new variable we defined:
Testing :
Great!!