30.10.2010, 23:44
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
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;
}