18.12.2013, 12:52
No, ' ' is mosly used on %s placeholder, This code should work
pawn Код:
SavePlayer(playerid)
{
if(pInfo[playerid][Logged] != 1) return true;
new Query[500], pInfo[playerid][pScore] = GetPlayerScore(playerid), pInfo[playerid][pMoney] = GetPlayerMoney(playerid);
format( Query, sizeof( Query ), "UPDATE `playerdata` SET `admin` =%i, `score` =%i, `money` =%i, `kills` =%i, `deaths` =%i WHERE `id` =%d LIMIT 1",pInfo[playerid][pAdmin],pInfo[playerid][pScore],pInfo[playerid][pMoney],pInfo[playerid][pKills],pInfo[playerid][pDeaths],pInfo[playerid][ID]);
mysql_query(Query);
print(Query);
}