PDA

View Full Version : /aduty off OnPlayerDisconnect


ChristianIvann09
09/03/2014, 01:47 AM
Hi,
I need help

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

thanks in advance

RenovanZ
09/03/2014, 01:52 AM
public OnPlayerDisconnect(playerid)
{
YourAdminDutyVariable[playerid] = 0;
return 1;
}

ghost556
09/03/2014, 01:53 AM
What do you use when they go on duty?
PlayerInfo[playerid][pAduty] something like that

ChristianIvann09
09/03/2014, 03:03 AM
public OnPlayerDisconnect(playerid)
{
YourAdminDutyVariable[playerid] = 0;
return 1;
}

Thank you

ChristianIvann09
09/03/2014, 03:14 AM
What do you use when they go on duty?
PlayerInfo[playerid][pAduty] something like that

PlayerInfo[playerid][AdminDuty]

ChristianIvann09
09/03/2014, 03:20 AM
public OnPlayerDisconnect(playerid)
{
YourAdminDutyVariable[playerid] = 0;
return 1;
}

this is not working