Help with Survival Script - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with Survival Script (
/showthread.php?tid=505861)
Help with Survival Script -
Jivvles - 10.04.2014
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();
}
Re: Help with Survival Script -
Jivvles - 10.04.2014
please help
Re: Help with Survival Script -
Jivvles - 10.04.2014
Please Help me with this