/aduty off OnPlayerDisconnect
#1

Hi,
I need help

If admin on duty.. then he /q.. he/she will automatically go off duty..

thanks in advance
Reply
#2

pawn Код:
public OnPlayerDisconnect(playerid)
{
    YourAdminDutyVariable[playerid] = 0;
    return 1;
}
Reply
#3

What do you use when they go on duty?
PlayerInfo[playerid][pAduty] something like that
Reply
#4

Quote:
Originally Posted by Kiyozi_Mu
Посмотреть сообщение
pawn Код:
public OnPlayerDisconnect(playerid)
{
    YourAdminDutyVariable[playerid] = 0;
    return 1;
}
Thank you
Reply
#5

Quote:
Originally Posted by ghost556
Посмотреть сообщение
What do you use when they go on duty?
PlayerInfo[playerid][pAduty] something like that
PlayerInfo[playerid][AdminDuty]
Reply
#6

Quote:
Originally Posted by Kiyozi_Mu
Посмотреть сообщение
pawn Код:
public OnPlayerDisconnect(playerid)
{
    YourAdminDutyVariable[playerid] = 0;
    return 1;
}
this is not working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)