[DUV] Up Level
#2

isso й puxado por um timer para todos nй entгo para que definir com o I coloca playerid mesmo nгo precisa mandar executar isto para todos pois se nгo estiver com settimerex ele ira puxar para todos online.
tenta
pawn Код:
public AumentarLevel(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        Experiencia[playerid] ++;
        GameTextForPlayer(playerid, "~w~UP", 2000, 6);
        if(pap_CarregarInt(playerid, "Experiencia") == 6)
        {
            Level[playerid]++;
            new str[256];
            format(str,sizeof(str),"| Level UP! | Parabйns vocк ganhou +1 level, somando um total de %d level's.",Level[playerid]);
            SendClientMessage(i,0xFF0000AA,str);
            Experiencia[playerid] = pap_SalvarInt(playerid, "Experiencia", 0);
        }
    }
    return 1;
}
Reply


Messages In This Thread
[DUV] Up Level - by [NWD]Tweener_ - 30.10.2010, 23:33
Re: [DUV] Up Level - by TiagoPS - 30.10.2010, 23:44
Re: [DUV] Up Level - by Link_ - 30.10.2010, 23:48
Re: [DUV] Up Level - by [FeK]HigorOliver - 30.10.2010, 23:52
Re: [DUV] Up Level - by [NWD]Tweener_ - 31.10.2010, 00:45
Re: [DUV] Up Level - by TiagoPS - 31.10.2010, 02:44
Re: [DUV] Up Level - by [NWD]Jim._.Carrey - 31.10.2010, 02:48
Re: [DUV] Up Level - by [NWD]Tweener_ - 31.10.2010, 12:55

Forum Jump:


Users browsing this thread: 2 Guest(s)