PHP Code:
stock SalvarDados(playerid) {
new query[800];
mysql_format(Conexao, query, sizeof(query), "UPDATE `Contas` SET Nome='%s', Senha='%s', Skin='%d', Dinheiro='%d', Level='%d', Vida='%f', Colete='%f', Procurado='%d', Administrador='%d', Moderador='%d', Corregedor='%d', Comandante='%d', Patente='%d', Ajudante='%d', TemJetpack='%d', Profissao='%d' WHERE='%s'",
Pname(playerid),
pInfo[playerid][Senha],
GetPlayerSkin(playerid),
GetPlayerMoney(playerid),
GetPlayerScore(playerid),
GetPlayerHealth(playerid),
GetPlayerArmour(playerid),
GetPlayerWantedLevel(playerid),
pInfo[playerid][Administrador],
pInfo[playerid][Moderador],
pInfo[playerid][Corregedor],
pInfo[playerid][Comandante],
pInfo[playerid][Patente],
pInfo[playerid][Ajudante],
pInfo[playerid][TemJetpack],
pInfo[playerid][Profissao],
Pname(playerid));
mysql_query(Conexao, query, true);
return 1;
}