01.07.2011, 22:14
Код:
1385 new Pname[24]; 1386 GetPlayerName(playerid, Pname, 24); 1387 new escpname[24]; 1388 mysql_real_escape_string(Pname, escpname); 1399 format(query, sizeof(query), "UPDATE `users` SET `Points` = '%d', `AdminLevel` = '%d', `Level` = '%d' WHERE `Nick` = '%s'", PlayerInfo[playerid][Points], PlayerInfo[playerid][AdminLevel], PlayerInfo[playerid][Level], escpname); 1400 mysql_query(query); 1401 mysql_free_result();