[AJUDA]Prisгo Bugada
#3

Isto deve resolver o seu problema:

pawn Код:
//No OnGameModeInit:

SetTimer("PassarTempoPrisao", 1000, true);



//No Final do GM:

forward PassarTempoPrisao();
public PassarTempoPrisao()
{
    for(new x = 0; x < MAX_PLAYERS; x++)
    {
        if(PlayerInfo[x][pJailed] > 0)
        {
            PlayerInfo[x][pJailTime]--;
        }
    }
    return 1;
}
Se houver problemas com o cуdigo acima, poste a sua callback OtherTime.

Espero ter ajudado
Reply


Messages In This Thread
[AJUDA]Prisгo Bugada - by Fuchii - 09.02.2011, 19:31
Re: [AJUDA]Prisгo Bugada - by leandro123456 - 09.02.2011, 19:35
Re: [AJUDA]Prisгo Bugada - by rjjj - 09.02.2011, 20:06
Re: [AJUDA]Prisгo Bugada - by Comando Thug - 09.02.2011, 21:27
Re: [AJUDA]Prisгo Bugada - by Fuchii - 10.02.2011, 00:00
Re: [AJUDA]Prisгo Bugada - by rjjj - 10.02.2011, 02:33
Re: [AJUDA]Prisгo Bugada - by Comando Thug - 10.02.2011, 07:49

Forum Jump:


Users browsing this thread: 4 Guest(s)