07.11.2011, 19:41
So recently I've been having problems with my admin/vip system.
I have made my own which works pretty good. I use dini for saving inside files. I also made a /makeadmin and /givevip command.
The problem I am having is that I gave a few players admin powers, now somehow these powers are getting transferred into other player files, and allows them to be admin, when they never even got promoted.
And no, the admins I have set myself can't give other players admin powers since it's RCON operated.
I'd be really thankful if someone would help me out with this. I'm thinking this line causes these problems:
PlayerInfo[pID][AdminLevel] = alevel;
pID is the player that I'm promoting (first parameter)
alevel is the second parameter.
Thank you in advance. -Roperr
I have made my own which works pretty good. I use dini for saving inside files. I also made a /makeadmin and /givevip command.
The problem I am having is that I gave a few players admin powers, now somehow these powers are getting transferred into other player files, and allows them to be admin, when they never even got promoted.
And no, the admins I have set myself can't give other players admin powers since it's RCON operated.
I'd be really thankful if someone would help me out with this. I'm thinking this line causes these problems:
PlayerInfo[pID][AdminLevel] = alevel;
pID is the player that I'm promoting (first parameter)
alevel is the second parameter.
Thank you in advance. -Roperr