18.06.2014, 17:10
I made this, don't know if it works, or is even correct. I get
Erros returned:
pawn Код:
forward MasterAccountSave(playerid);
public MasterAccountSave(playerid)
{
if(AccountExists(playerid))
{
if(MasterAccount[playerid][mLoggedIn])
{
new query[300]
mysql_format(0, query, sizeof(query), "UPDATE `Master` (password,email_address,ip_address,super_admin,old_ip) VALUES ('%s', '%s', '%s', '%d', '%s', '%d')", MasterAccount[mPassword], MasterAccount[playerid][mEmailAddress], GetPlayerIPEx(playerid), MasterAccount[playerid][mSuperAdmin], MasterAccount[playerid][mOld_IP], MasterAccount[playerid][mID];// This line
mysql_tquery(0, query, "", "");
return true;
}
}
return false;
}
Erros returned:
pawn Код:
(566) : error 001: expected token: ";", but found "-identifier-"
(566) : warning 213: tag mismatch
(566) : error 001: expected token: ",", but found ";"