Jump to content

[HELP]Random unexpected symbol


Simi23

Recommended Posts

Posted

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?

Posted

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

Posted

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.

  • Thanks 1
Posted

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.... :D btw. I've wrote = instead of ==

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...