28.01.2013, 23:42
PHP код:
por isso, se vocк nгo precisa "Bucle"
forward maisexp( playerid );
public maisexp( playerid )
{
PlayerInfo[playerid][pExp] ++;
if(PlayerInfo[playerid][pLevel] == 60)
{
LevelUP(playerid);
}
return 1;
}
no entanto, se vocк fizer isso vocк vai precisar do bucle
forward maisexp();
public maisexp()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerInfo[i][pExp] ++;
if(PlayerInfo[i][pLevel] == 60)
{
LevelUP(i);
}
}
return 1;
}

