Ovnyx
Member
- Joined
- Jul 25, 2017
- Messages
- 163
- Solutions
- 2
- Reaction score
- 7
hi,
i was working on a script, and suddenly i got this error on server when trying to log in:
the thing is that i never touched login or logout .lua before this error occur any one know why is this happening
EDIT:i founded the problem and it is because in data/lib/lib.lua
i added:
to use some methamethods i got there in a class and thats causing the error
is this the correct way to "include" my custom lib file to my server?
thanks in advice!
Ovnyx
i was working on a script, and suddenly i got this error on server when trying to log in:
the thing is that i never touched login or logout .lua before this error occur any one know why is this happening
EDIT:i founded the problem and it is because in data/lib/lib.lua
i added:
Code:
dofile('data/lib/script.lua')
to use some methamethods i got there in a class and thats causing the error
is this the correct way to "include" my custom lib file to my server?
thanks in advice!
Ovnyx
Last edited: