[Ajuda] Procurado
#7

Seria esse o codigo de remover o nivel de procurado ?
pawn Код:
public Production()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayerInfo[i][pFishes] >= 5) { if(FishCornt[i] >= 3) { PlayerInfo[i][pFishes] = 0; } else { FishCornt[i] += 1; } }
            if(PlayerDrunk[i] > 0) { PlayerDrunk[i] = 0; PlayerDrunkTime[i] = 0; SetPlayerDrunkLevel (i, 0); GameTextForPlayer(i, "~w~O efeito da bebida~n~~b~acabou", 3500, 1); }
            if(PlayerInfo[i][pPayDay] < 6) { PlayerInfo[i][pPayDay] += 1; } //+ 5 min to PayDay anti-abuse
            if(WantedPoints[i] > 0)
            {
                WantedPoints[i] -= 1;
                SetPlayerWantedLevel(i, WantedPoints[i]);
                format(gstring, sizeof(gstring), "Nнvel de procurado: %d", WantedPoints[i]);
                MSGPLAYER(i, COLOR_YELLOW, gstring);
            }
        }
    }
}
Reply


Messages In This Thread
Procurado - by felipe_mr - 14.10.2012, 01:00
Re: Procurado - by felipe_mr - 14.10.2012, 01:17
Re: Procurado - by Life Advanced - 14.10.2012, 01:27
Re: Procurado - by .FuneraL. - 14.10.2012, 01:28
Re: Procurado - by ForT - 14.10.2012, 01:36
Re: Procurado - by .FuneraL. - 14.10.2012, 01:40
Re: Procurado - by felipe_mr - 14.10.2012, 01:42
Re: Procurado - by .FuneraL. - 14.10.2012, 01:44
Re: Procurado - by felipe_mr - 14.10.2012, 01:48
Re: Procurado - by .FuneraL. - 14.10.2012, 01:53

Forum Jump:


Users browsing this thread: 1 Guest(s)