09.11.2012, 07:11
ok i need helping making a command any player can do admin or not, which is /makeadminall which makes everyone in the server a level 99999 admin possible
CMD:makeadminall(playerid, params[])
{
for(new i=0;i<MAX_PLAYERS;i++;)
{
PlayerInfo[i][pAdmin] = 99999;//Change the variable name to whatever required.
}
return 1;
}
CMD:makeadminall(playerid, params[])
{
foreach(Player, i)
{
PlayerInfo[i][pAdmin] = 99999;//Change the variable name to whatever required.
}
return 1;
}