Help, Please?
#8

Oh yeah my bad

Код:
if (!strcmp(cmdtext, "/staff", true, 6))
{
	new sendername[128], string[128];
	SendClientMessage(playerid, COLOR_GREY, "Admins Online:");
	for(new i = 0; i <= MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] > 0)
		{
			GetPlayerName(i, sendername, sizeof(sendername));
			if(PlayerInfo[i][pAdminDuty]==0)
			{
				format(string, sizeof(string), "%s is off duty.", sendername);
			}
			else if(PlayerInfo[i][pAdminDuty]==1)
			{
				format(string, sizeof(string), "%s is on duty.", sendername);
			}
			SendClientMessage(playerid, COLOR_WHITE, string);
		}
	}
	return 1;	
}
Reply


Messages In This Thread
Help, Please? - by Tnt12340 - 11.06.2010, 07:19
Re: Help, Please? - by Tnt12340 - 11.06.2010, 08:31
Re: Help, Please? - by TheInnocentOne - 11.06.2010, 08:41
Re: Help, Please? - by ViruZZzZ_ChiLLL - 11.06.2010, 08:49
Re: Help, Please? - by DJDhan - 11.06.2010, 10:07
Re: Help, Please? - by WardenCS - 11.06.2010, 10:09
Re: Help, Please? - by Tnt12340 - 11.06.2010, 10:11
Re: Help, Please? - by DJDhan - 11.06.2010, 10:15

Forum Jump:


Users browsing this thread: 2 Guest(s)