Looping through players
#4

Quote:
Originally Posted by Redirect Left
Посмотреть сообщение
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
	if(IsPlayerConnected(i))
	{
		if(pAdmin[playerid] > 0) // alter to actual variable 'pAdmin' is ambiguous at best.
		{
			// They're admin, send message
		}
	}
}
better then my code ^. Haven't bothered with PAWN in well over a year.
Reply


Messages In This Thread
Looping through players - by jackx3rx - 27.07.2014, 20:50
Re: Looping through players - by Isolated - 27.07.2014, 21:29
Re: Looping through players - by Redirect Left - 27.07.2014, 21:30
Re: Looping through players - by Isolated - 27.07.2014, 21:38
AW: Re: Looping through players - by jackx3rx - 27.07.2014, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)