LuxAdmin ReadPMs
#1

How can I change the privileges of what level of administration is required to view the player's PM's. If someone knows how this can be done then please do help me, this is a LuxAdmin system, everything is original I just need to know how I can change this, thanks.
Reply
#2

Basically on that command for admins, there is a line that will check to see if an admin is a certain level or higher, merely change the number to the administrator level you want it to be available at.
Reply
#3

the following is the line that decides at what admin level you can read all the PM. They are under "OnPlayerPrivmsg".

PHP код:
if(IsPlayerConnected(a) && (AccInfo[a][Level] >= ServerInfo[MaxAdminLevel]) && != playerid
if you want to change that level, you have to change "ServerInfo[MaxAdminLevel]" to the minimum admin level you want to be able to read all the PM. So if you want all the admins to be allowed to read the PM change the above line to:

PHP код:
if(IsPlayerConnected(a) && (AccInfo[a][Level] >= 1) && != playerid
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)