Подскажите почему не заполняются эти строки
PHP код:
cache_get_field_content(0, "Password", maximum), strmid(PlayerInfo[playerid][pPass], maximum, 0, strlen(maximum), 32);
cache_get_field_content(0, "Email", maximum), strmid(PlayerInfo[playerid][pEmail], maximum, 0, strlen(maximum), 32);
cache_get_field_content(0, "Age", maximum), PlayerInfo[playerid][pAge] = strval(maximum);
cache_get_field_content(0, "Skin", maximum), PlayerInfo[playerid][pSkin] = strval(maximum);
cache_get_field_content(0, "Sex", maximum), PlayerInfo[playerid][pSex] = strval(maximum);
cache_get_field_content(0, "Level", maximum), PlayerInfo[playerid][pLevel] = strval(maximum);
PHP код:
stock SavePlayer(playerid)
{
if(GetPVarInt(playerid,"gPlayerLogged") == 1)
{
new string[550];
//GetPlayerHealth(playerid, PlayerInfo[playerid][Health]);
format(string,sizeof(string),"UPDATE `"TABLE_ACCOUNT"` SET `Password` = '%s', `Email` = '%s', `Age` = '%d', `Skin` = '%d', `Sex` = '%d', `Level` = '%d',",
PlayerInfo[playerid][pPass], PlayerInfo[playerid][pEmail],
PlayerInfo[playerid][pAge], PlayerInfo[playerid][pSkin],
PlayerInfo[playerid][pSex], PlayerInfo[playerid][pLevel]);
mysql_query(string, -1, 0, MySQLConnect);
}
return true;
}