Simi23 Posted August 13, 2017 Share Posted August 13, 2017 Hello! I got this problem when I try to check my script: s_account_system.lua:1: unexpected symbol near '´' But when I searched for it, there is no such symbol like " ´ " in my script, and my first row looks like: local mysql = exports.mysql Any help? Link to comment
NeXuS™ Posted August 13, 2017 Share Posted August 13, 2017 Does your script contain any UTF-8 codes? If it does, set the coding for it to UTF-8. Link to comment
NeXuS™ Posted August 13, 2017 Share Posted August 13, 2017 Try to comment out the whole resource except the first line. Link to comment
Simi23 Posted August 13, 2017 Author Share Posted August 13, 2017 Same error appears. Even if I rewrite the first line. Link to comment
NeXuS™ Posted August 13, 2017 Share Posted August 13, 2017 Try to write something else in the first line. Link to comment
Simi23 Posted August 13, 2017 Author Share Posted August 13, 2017 Still got the error. Even if I write nothing in the first line. Link to comment
NeXuS™ Posted August 13, 2017 Share Posted August 13, 2017 Are you sure you've commented the whole resource out? Link to comment
Simi23 Posted August 13, 2017 Author Share Posted August 13, 2017 Even if I delete the whole script, still got it. Note that, not mta debug outputs that error, im using a lua checker plugin for notepad++. When i launch the resource (the problem is in the server side script) Everything appears to be nice, the login panel shows up, but when I press the login button, (it should trigger a server side event) its just saying that event is not added.(Before commenting out the script) yes, sure Link to comment
NeXuS™ Posted August 13, 2017 Share Posted August 13, 2017 If MTA's debug doesn't output any error, there is no error in it. Use an outputChatBox to see if the server-sided script is getting loaded in or not. 1 Link to comment
Simi23 Posted August 13, 2017 Author Share Posted August 13, 2017 It didn't load up. I will try to restart it. (I can't unless im not signed in, but I'll rewrite that script and restart the server.) OMG Solved it. Because of I can restart resources without being logged in from now, I could see the real error. IT WAS ONE F.... "=" symbol.... btw. I've wrote = instead of == Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now