30.04.2012, 16:06
Tenta Assim
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
TimeReduceOne[i] = tempo * 60;
TimeReduceTwo[i] = SetTimer("DimiTempPrisao", 1000, true);
}
public DimiTempPrisao()
forward DimiTempPrisao();
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TimeReduceOne[i] > 0)
{
TimeReduceOne[i] --;
if(TimeReduceOne[i] == 1)
{
TimeReduceOne[i] = 0;
KillTimer(TimeReduceTwo[id]);
mCrime[i] = "Ficha Limpa";
SetPlayerPos(i, 246.52,70.65,1003.64);
EstaPreso[i] = 0;
GameTextForPlayer(i,"~y~Libertado... ~b~Nao cometa mais crimes.",2000,1);
}
}
return true;
}

