01.07.2011, 21:36
Код:
new Pname[24]; GetPlayerName(playerid, Pname, 24); new escpname[24]; mysql_real_escape_string(Pname, escpname); format(query, sizeof(query), "UPDATE `users` SET `Points` = '%d',`AdminLevel` = '%d', `Level` = '%d'", PlayerInfo[playerid][Points], PlayerInfo[playerid][AdminLevel], PlayerInfo[playerid][Level], escpname); mysql_query(query); mysql_free_result();
Код:
C:\Documents and Settings\тшех дчрйеъ\щемзп дтбегд\щшъ\gamemodes\esw.pwn(1389) : error 076: syntax error in the expression, or invalid function call