How to reset all Admin levels
#1

Hi, I currently have over 5,000 registered accounts on my server.

It's a server where a lot of people have Admin Level to enable them to do more things.

Is it possible I can reset all these 5,000 Admin Levels to level 0 without having to manually go through every user account?
Reply
#2

Maybe try to script something which resets the Admin Level of all Players.
Reply
#3

pawn Код:
YCMD:wipeadmin(playerid, params[], help)
{
    #pragma unused params, help
    for(new i=0 ; i<MAX_PLAYERS ; i++)
    {
        your admin variable = 0;
    }
    return 1;
}
Was it so hard?
Reply
#4

Are you using MySQL ?
Reply
#5

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
pawn Код:
YCMD:wipeadmin(playerid, params[], help)
{
    #pragma unused params, help
    for(new i=0 ; i<MAX_PLAYERS ; i++)
    {
        your admin variable = 0;
    }
    return 1;
}
Was it so hard?
he wants to demote all the 5000 player accounts he got. not onlines.

@captainjohn , if youre using mysql, then use Update query to set all admin lvls to 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)