SA-MP Forums Archive
Check if player is duty - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Check if player is duty (/showthread.php?tid=111888)



Check if player is duty - whitedragon - 04.12.2009

How to make cmd what check is the organtion member is do work or not
how i make that code?
//source be nice\\


Re: Check if player is duty - Tigerbeast11 - 04.12.2009

pawn Код:
new duty[MAX_PLAYERS];
Set it to onduty when they are on duty

pawn Код:
duty[playerid] = 1;
The check would be...

pawn Код:
if(duty[playerid] == 1) {



Re: Check if player is duty - whitedragon - 04.12.2009

yeah but i want to make it only when the player is only in his/her organsion