30.05.2015, 08:04
I knew it was that, I must have replaced the wrong folder, it's working as it should now... Thanks for that, I knew it was something to do with outdated plugins. Glad I tried it again.
An update though, it's now doing it for 'GetPlayerCash', is this supposed to be in there?
GetPlayerCash(playerid), pos[0], pos[1], pos[2], pos[3], Player[playerid][ID]);
If so what plugin does this go under, I only have the a_mysql and a_samp and whirlpool atm.
EDIT: I changed it to GetPlayerMoney (assuming you just had cash and money mixed around) and it compiled properly.
EDIT 2: Everythings running, plugins running, wamp running, dialog box pops up and the right credentials are inside the script, but whenever I register an account, nothing is being sent to the database.
An update though, it's now doing it for 'GetPlayerCash', is this supposed to be in there?
GetPlayerCash(playerid), pos[0], pos[1], pos[2], pos[3], Player[playerid][ID]);
If so what plugin does this go under, I only have the a_mysql and a_samp and whirlpool atm.
EDIT: I changed it to GetPlayerMoney (assuming you just had cash and money mixed around) and it compiled properly.
EDIT 2: Everythings running, plugins running, wamp running, dialog box pops up and the right credentials are inside the script, but whenever I register an account, nothing is being sent to the database.
PHP Code:
[18:25:04] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `accounts` (`Username`, `Password`, `IP`, `Admin`, `", callback: "OnAccountRegister", format: "i"
[18:25:04] [DEBUG] CMySQLQuery::Execute[OnAccountRegister] - starting query execution
[18:25:04] [ERROR] CMySQLQuery::Execute[OnAccountRegister] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
[18:25:04] [DEBUG] CMySQLQuery::Execute[OnAccountRegister] - error will be triggered in OnQueryError