Andrey008
Дебютант
Приветствую!
Вот такая ошибка:warning 217: loose indentation
Заранее спасибо!
Вот такая ошибка:warning 217: loose indentation
HTML:
stock LoadSpawns()
{
new time = GetTickCount();
new Cache:result = Db::query(connDb, "SELECT * FROM `"#__TableSpawns__"` ORDER BY `id` ASC");
new rows = cache_get_row_count();
if(rows)
{
for(new i; i < rows; i++)
{
new id;
cache_get_int(i, 0, id); Вот именно тут выдает ошибку,понять ничего не могу.
cache_get_int(i, 1, SpawnInfo[id][spInt]);
cache_get_int(i, 2, SpawnInfo[id][spVirt]);
cache_get_float(i, 3, SpawnInfo[id][spX]);
cache_get_float(i, 4, SpawnInfo[id][spY]);
cache_get_float(i, 5, SpawnInfo[id][spZ]);
cache_get_float(i, 6, SpawnInfo[id][spA]);
}
debug("LoadSpawns() - Ok! Spawns: %i. Run time: %i (ms)", rows, GetTickCount()-time);
}
cache_delete(result);
return 1;
}
