/aduty off OnPlayerDisconnect - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /aduty off OnPlayerDisconnect (
/showthread.php?tid=499629)
/aduty off OnPlayerDisconnect -
ChristianIvann09 - 09.03.2014
Hi,
I need help
If admin on duty.. then he /q.. he/she will automatically go off duty..
thanks in advance
Re: /aduty off OnPlayerDisconnect -
RenovanZ - 09.03.2014
pawn Код:
public OnPlayerDisconnect(playerid)
{
YourAdminDutyVariable[playerid] = 0;
return 1;
}
Respuesta: /aduty off OnPlayerDisconnect -
ghost556 - 09.03.2014
What do you use when they go on duty?
PlayerInfo[playerid][pAduty] something like that
Re: /aduty off OnPlayerDisconnect -
ChristianIvann09 - 09.03.2014
Quote:
Originally Posted by Kiyozi_Mu
pawn Код:
public OnPlayerDisconnect(playerid) { YourAdminDutyVariable[playerid] = 0; return 1; }
|
Thank you
Re: Respuesta: /aduty off OnPlayerDisconnect -
ChristianIvann09 - 09.03.2014
Quote:
Originally Posted by ghost556
What do you use when they go on duty?
PlayerInfo[playerid][pAduty] something like that
|
PlayerInfo[playerid][AdminDuty]
Re: /aduty off OnPlayerDisconnect -
ChristianIvann09 - 09.03.2014
Quote:
Originally Posted by Kiyozi_Mu
pawn Код:
public OnPlayerDisconnect(playerid) { YourAdminDutyVariable[playerid] = 0; return 1; }
|
this is not working