SA-MP Forums Archive
MySQL Scripting Error // Please Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL Scripting Error // Please Help! (/showthread.php?tid=511104)



MySQL Scripting Error // Please Help! - Rennn - 04.05.2014

so I've been getting some errors after following a tutorial on ******* for a login and registering system and such. All was well until the last part. When I compile, I get the following errors.

This is the script:



These are the errors:




Re: MySQL Scripting Error // Please Help! - superrobot48 - 04.05.2014

You havent defined what position is


Re: MySQL Scripting Error // Please Help! - Rennn - 04.05.2014

Can you be more specific? Assist me with how to define it? I followed all of the ******* video's steps one by one and made sure it's exactly the same. He got no errors, I did.


Re: MySQL Scripting Error // Please Help! - Yazzu - 04.05.2014

Show line 36.


Re: MySQL Scripting Error // Please Help! - Dignity - 04.05.2014

What line is 36?

Also, show your Player enum please.


Re: MySQL Scripting Error // Please Help! - PinEvil - 04.05.2014

You need to define your positions,

Replace: PlayerX, PlayerY, PlayerZ with coordinates.


Re: MySQL Scripting Error // Please Help! - Rennn - 04.05.2014

Solved! I had an extra COMMA in my enum. LOL.