13.05.2015, 10:40
Код:
new str[700]; mysql_format(mysql, str, sizeof(str), "UPDATE `users` SET `Name` = '%s', `IP` = '%s', `Money` = '%d', `Score` = '%d', `Kills` = '%d', `Deaths` = '%d', `Level` = '%d', `Rank` = '%s', \ `ZonesCaptured` = '%d', `FlagsCaptured` = '%d', `VIP` = '%d', `DonateLevel` = '%d' WHERE `ID` = '%d'", PlayerName(playerid), p_IP[playerid],GetPlayerCash(playerid),GetPlayerScore(playerid),Kills[playerid],Deaths[playerid], AdminLevel{playerid},RankNames[Rank[playerid]],ZonesCaptured[playerid],FlagsCaptured[playerid], VIP[playerid],DonateLevel[playerid],FieldID[playerid]); mysql_query(mysql,str);