01.02.2012, 13:35
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++)
{
//level up function
}
}
}
}
return 1;
}