Din pastebin-ul de la tine e problema, incearca:
function LoadCar(id) {
if(CarInfo[id][cModel] != 0) return 1;
new query[256];
mysql_format(SQL, query, 128, "SELECT * FROM `cars` WHERE `ID`='%d'", id);
new Cache: db = mysql_query(SQL, query);
if(cache_get_row_count() > 0) {
new i = 0;
CarInfo[id][cID] = id;
CarInfo[id][cModel] = cache_get_field_content_int(i, "Model");
CarInfo[id][cLocationx] = cache_get_field_content_float(i, "Locationx");
CarInfo[id][cLocationy] = cache_get_field_content_float(i, "Locationy");
CarInfo[id][cLocationz] = cache_get_field_content_float(i, "Locationz");
CarInfo[id][cAngle] = cache_get_field_content_float(i, "Angle");
CarInfo[id][cColorOne] = cache_get_field_content_int(i, "ColorOne");
CarInfo[id][cColorTwo] = cache_get_field_content_int(i, "ColorTwo");
cache_get_field_content(i, "Owner", CarInfo[id][cOwner], SQL, 129);
CarInfo[id][cValue] = cache_get_field_content_int(i, "Value");
cache_get_field_content(i, "License", CarInfo[id][cLicense], SQL, 129);
CarInfo[id][cAlarm] = cache_get_field_content_int(i, "Alarm");
CarInfo[id][cLock] = cache_get_field_content_int(i, "Lockk");
CarInfo[id][mod0] = cache_get_field_content_int(i, "mod0");
CarInfo[id][mod1] = cache_get_field_content_int(i, "mod1");
CarInfo[id][mod2] = cache_get_field_content_int(i, "mod2");
CarInfo[id][mod3] = cache_get_field_content_int(i, "mod3");
CarInfo[id][mod4] = cache_get_field_content_int(i, "mod4");
CarInfo[id][mod5] = cache_get_field_content_int(i, "mod5");
CarInfo[id][mod6] = cache_get_field_content_int(i, "mod6");
CarInfo[id][mod7] = cache_get_field_content_int(i, "mod7");
CarInfo[id][mod8] = cache_get_field_content_int(i, "mod8");
CarInfo[id][mod9] = cache_get_field_content_int(i, "mod9");
CarInfo[id][mod10] = cache_get_field_content_int(i, "mod10");
CarInfo[id][mod11] = cache_get_field_content_int(i, "mod11");
CarInfo[id][mod12] = cache_get_field_content_int(i, "mod12");
CarInfo[id][mod13] = cache_get_field_content_int(i, "mod13");
CarInfo[id][paintjob] = cache_get_field_content_int(i, "paintjob");
CarInfo[id][KM] = cache_get_field_content_float(i, "KM");
CarInfo[id][Userid] = cache_get_field_content_int(i, "Userid");
CarInfo[id][Confiscated] = cache_get_field_content_int(i, "Confiscated");
CarInfo[id][Spawned] = 0;
CarInfo[id][cSpecial] = cache_get_field_content_int(i, "Special");
CarInfo[id][cTax] = cache_get_field_content_int(i, "Tax");
CarInfo[id][cPoints] = cache_get_field_content_int(i, "Points");
CarInfo[id][cFuel] = cache_get_field_content_int(i, "Fuel");
cache_delete(db);
}
return 1;
}