Detaljan opis problema: Ma uradio sam areu i sve nastimao ali me timer muci stavim ga 5minuta pusti ga za 1-2minuta ne broji kako treba ja pokusavao nastimat ali pusti ga za 10 secundi onda haha neide mi timer...zna neko pomoci...☹️
Dio skripte:Evo dacu timer...
forward TimerAreaZ();
public TimerAreaZ()
{
foreach(Player,i)
{
if(PlayerInfo > 0)
{
PlayerInfo--;//Ja sam je tako napisao isla bi tvoja promenljiva
if(PlayerInfo == 0)
{
GameTextForPlayer(i, "~g~SLOBODNI STE", 3500, 4);
PlayerPlaySound(i, 1052, 0.0, 0.0, 0.0);
SetPlayerPos(i, 1802.7881, -1577.6869, 13.4119);
SetPlayerWorldBounds(i,20000.0000,-20000.0000,20000.0000,-20000.0000);
}
}
}
}
I evo pod OnGameModeInit:
SetTimer("TimerAreaZ", 60000, 1);
