13.07.2015, 23:53
Erro
eu tava usando o nick ivison_r
pawn Code:
[20:51:29] [ERROR] CMySQLQuery::Execute[] - (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 'WHERE Usuario='ivis' at line 1
Code:
stock SalvarDados(playerid) { new myQuery[100]; format(myQuery, 100, "UPDATE `contas` SET `Matou`='%d', `Morreu`='%d', `Dinheiro`='%d', `Skin`='%d', WHERE Usuario='%s'", Player[playerid][pMatou], Player[playerid][pMorreu], GetPlayerMoney(playerid), GetPlayerSkin(playerid) ,GetNome(playerid)); mysql_tquery(mysql, myQuery, "",""); print("dados salvos"); return 1; }