07.10.2013, 00:40
pawn Код:
new Requete[1024];
format(Requete, sizeof(Requete), "UPDATE lsrp_comptes SET `Age`=%d, `Sex`=%d, `Aspi`=%d, `Skin`=%d, `Cash`=%d WHERE ID=%d",
Player_infos[playerid][p_Age] = strval(inputtext),
Player_infos[playerid][p_Sex] = strval(inputtext),
Player_infos[playerid][p_Aspi] = strval(inputtext),
Player_infos[playerid][p_Skin] = strval(inputtext),
Player_infos[playerid][p_Cash] = strval(inputtext),
Player_infos[playerid][p_Sql_Id]) = strval(inputtext);
mysql_query(Requete);
mysql_debug_save(Requete);