10.04.2014, 15:55
Ok so I need help to make a CMD for /tentres to respawn tents. However this is what i got for a timer and i want to make that in the timer work for a command so it destroys all tents?:
Код:
if(gettime() - 108000 > ServerLimit[TentRespawn])
{
for(new iv2 = 0; iv2 < 500; iv2++)
{
DestroyDynamicObject(Tent[iv2][TentID]);
DestroyDynamic3DTextLabel(Tent[iv2][tentText]);
Tent[iv2][xTent] = 0.0;
Tent[iv2][yTent] = 0.0;
Tent[iv2][zTent] = 0.0;
tentCount = 0;
}
ServerLimit[TentRespawn] = gettime();
}

