Jump to content

Question

Posted

Salut, am urmatorul warning:

(15152) : warning 213: tag mismatch

Ma puteti ajuta va rog frumos?

 

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);    
    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");
   (15152) CarInfo[id][cDays] = cache_get_field_content_float(i, "Days");    -asta e linia cu warningul
    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);
    cache_get_field_content(i, "Text", CarInfo[id][cText], SQL, 129);
    CarInfo[id][cTextColor] = cache_get_field_content_int(i, "ColorText");
    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");

etc

560x95_FFFFFF_FF9900_000000_000000.png

2 answers to this question

Recommended Posts

  • 0
Posted

Inlocuieste linia aia cu asta:

CarInfo[id][cDays] = cache_get_field_content_int(i, "Days");

Sper ca te-am ajutat! :D +1 

  • Like 1
  • 0
Posted
7 minutes ago, [El.Capo] said:

Inlocuieste linia aia cu asta:

CarInfo[id][cDays] = cache_get_field_content_int(i, "Days");

Sper ca te-am ajutat! :D +1 

Multumesc frumos, +1

560x95_FFFFFF_FF9900_000000_000000.png

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.