Player id 0 and 5 Getting admin levels. [Very Weird]
#4

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
i think you forget to reset the admin variables on player disconnect
do like this--
pawn Код:
public OnPlayerDisconnect(playerid , reason)
{
pInfo[playerid][admin] = 0;//change the variable to wahtever is your variable
return 1;
}
if it doesn't work then show the code where you load the varaibles from player file/database
Hi thanks yes i'm going to try that variable reseting, makes allot of scense, at connect we do reset the variables until loged in the players, however on disconnect the admin levels are not reset like you mentioned we never had that problem and we are on v11.0 now, has been online for more than 2 years but well as we updated plugins and such can be that ofc i will point out the results and thanks once again.
Reply


Messages In This Thread
Player id 0 and 5 Getting admin levels. [Very Weird] - by CharlieSanchez - 14.07.2014, 10:34
Re: Player id 0 and 5 Getting admin levels. [Very Weird] - by BroZeus - 14.07.2014, 10:38
Re: Player id 0 and 5 Getting admin levels. [Very Weird] - by Vince - 14.07.2014, 11:13
Re: Player id 0 and 5 Getting admin levels. [Very Weird] - by CharlieSanchez - 14.07.2014, 12:13

Forum Jump:


Users browsing this thread: 2 Guest(s)