01.02.2012, 13:37
By levelup means their Admin Level?
If yes, then use it as fiki posted above.
If yes, then use it as fiki posted above.
pawn Код:
if(strcmp(cmd, "/levelupall", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 1337)
{
if(gPlayerLogged[playerid] == 1)
{
for(new i=0; i < MAX_PLAYERS; i++)
{
PlayerInfo[i][pAdmin] ++;
}
}
}
}
return 1;
}