Rayder_Smoke
Умник
Здравствуйте, я с толкнулся с ошибкой которую не могу исправит: error 022: must be lvalue (non-constant)
Помогите пожалуйста разобраться, буду очень благодарен.
PHP:
stock LoadGZ()
{
new time;
time = GetTickCount();
GzoneInfo = cache_num_rows(); //Тут ошибка
if(GzoneInfo > 0)
{
for(new g; g < GzoneInfo ; g++ )
{
GZInfo[g][gFrakVlad] = cache_get_field_content_int (g, "gFrakVlad");
GZInfo[g][gCoords][0] = cache_get_field_content_float (g, "gCoords[0]");
GZInfo[g][gCoords][1] = cache_get_field_content_float (g, "gCoords[1]");
GZInfo[g][gCoords][2] = cache_get_field_content_float (g, "gCoords[2]");
GZInfo[g][gCoords][3] = cache_get_field_content_float (g, "gCoords[3]");
//GZInfo[g][gRespa] = cache_get_field_content_int (g, "gRespa");
GZInfo[g][gID] = GangZoneCreate(GZInfo[g][gCoords][0],GZInfo[g][gCoords][1],GZInfo[g][gCoords][2],GZInfo[g][gCoords][3]);
}
}
printf("[Çàãðóçêà]: LoadGangZone çàãðóæåíî: %d, çà %d (ms)", GZInfo,GetTickCount()-time ) ;
return true;
}
