Mike_Evan$
Умник
PHP:
new rows, fields;
cache_get_data(rows, fields);
if(rows)
{
for(new i = 0; i < rows; i++)
{
kHouseInfo[i][kID][playerid] = cache_get_field_content_int(i, "kID", connects);
kHouseInfo[i][kCarx][playerid] = cache_get_field_content_int(i, "carx", connects);
kHouseInfo[i][kCary][playerid] = cache_get_field_content_int(i, "cary", connects);
kHouseInfo[i][kCarz][playerid] = cache_get_field_content_int(i, "carz", connects);
kHouseInfo[i][kCarfa][playerid] = cache_get_field_content_int(i, "carfa", connects);
cache_get_field_content(i, "kOwner", kHouseInfo[i][kOwner][playerid], connects, 32);
kHouseInfo[i][kLock][playerid] = cache_get_field_content_int(i, "kLock", connects);
kHouseInfo[i][kColor][playerid] = cache_get_field_content_int(i, "kColor", connects);
}
kHouseyes[playerid] = 1;
kHousecarid[playerid] = AddStaticVehicleExEx(508, kHouseInfo[playerid][kCarx], kHouseInfo[playerid][kCary], kHouseInfo[playerid][kCarz]+2.0, kHouseInfo[playerid][kCarfa], kHouseInfo[playerid][kColor], kHouseInfo[playerid][kColor],900,0);
VEHICLE[kHousecarid[playerid]][ vHealth ] = 1000.0;
Fuell[kHousecarid[playerid]] = 100;
CarDoors(kHousecarid[playerid], kHouseInfo[playerid][kLock]);
}
else
{
kHouseyes[playerid] = 0;
}
return true;
}
Код:
(52144) : warning 215: expression has no effect
(52144) : error 001: expected token: ";", but found "["
(52144) : error 029: invalid expression, assumed zero
(52144) : warning 215: expression has no effect
(52144) : error 001: expected token: ";", but found "]"
(52144) : fatal error 107: too many error messages on one line
Код:
Строка 52144:
kHouseInfo[i][kID][playerid] = cache_get_field_content_int(i, "kID", connects);
Последнее редактирование модератором:
