Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

warning 213: tag mismatch

Статус
В этой теме нельзя размещать новые ответы.

C0mBat1ve

Ученик
asds.pwn(5715) : warning 213: tag mismatch
asds.pwn(5716) : warning 213: tag mismatch - проблема
Код -
Код:
forward LoadCars();
public LoadCars()
{
	new time = GetTickCount();
    new temp[32],rows,fields;
    cache_get_data(rows,fields,handle);
    if(rows)
    {
        for(new idx = 1; idx <= rows; idx++)
        {
			new veh;
			new veh3d;
			new number[32];
			cache_get_field_content(idx-1,"ID",temp,handle), CarInfo[idx][ID] = strval(temp);
			cache_get_field_content(idx-1,"Vid",temp,handle), CarInfo[idx][Vid] = strval(temp);
			cache_get_field_content(idx-1,"Color1",temp,handle), CarInfo[idx][Color1] = strval(temp);
			cache_get_field_content(idx-1,"Color2",temp,handle), CarInfo[idx][Color2] = strval(temp);
			cache_get_field_content(idx-1,"Lock",temp,handle), CarInfo[idx][Lock] = strval(temp);
			cache_get_field_content(idx-1,"Posx",temp,handle), CarInfo[idx][Posx] = floatstr(temp);
			cache_get_field_content(idx-1,"Posy",temp,handle), CarInfo[idx][Posy] = floatstr(temp);
			cache_get_field_content(idx-1,"Posz",temp,handle), CarInfo[idx][Posz] = floatstr(temp);
			cache_get_field_content(idx-1,"Rotation",temp,handle), CarInfo[idx][Rotation] = floatstr(temp);
			cache_get_field_content(idx-1,"Fuel",temp,handle), CarInfo[idx][Fuel] = strval(temp);
			cache_get_field_content(idx-1,"HP",temp,handle), CarInfo[idx][HP] = strval(temp);
			cache_get_field_content(idx-1,"Cost",temp,handle), CarInfo[idx][Cost] = strval(temp);
			cache_get_field_content(idx-1,"Number",temp,handle), CarInfo[idx][Number] = strval(temp);
			cache_get_field_content(idx-1,"TehView",temp,handle), CarInfo[idx][TehView] = strval(temp);
            TOTALCARS++;
			veh = AddStaticVehicle(CarInfo[idx][Vid],CarInfo[idx][Posx],CarInfo[idx][Posy],CarInfo[idx][Posz],CarInfo[idx][Rotation],CarInfo[idx][Color1],CarInfo[idx][Color2]);
			format(number,sizeof(number),"%d",CarInfo[idx][Number]);
			veh3d = Create3DTextLabel(number,COLOR_LIGHTBLUE,CarInfo[idx][Posx], CarInfo[idx][Posy], CarInfo[idx][Posz],20.0,0,1); // 5715
			Attach3DTextLabelToVehicle(veh3d,veh,-1.0,0.0,0.0); // 5716
		}
	}
    printf("[Загружено каров]: <%i>. Времени затрачено: <%i мс>",TOTALHOUSES,GetTickCount()-time);
    return true;
}
плюс в репу решившему
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу