[SOLVED]for loop statement - unknown command [zcmd]
#2

Код:
	if (strcmp(cmd, "/admins", true) == 0))
	{
	    new count = 0;
		SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] List of online adminstrators");
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
		  if (IsPlayerConnected(i))
	 	  {
 				if(pInfo[i][pAdmin] > 0)
	  		    {
					GetPlayerName(i, sendername, sizeof(sendername));
					format(string, 128, "<%i> %s", i,sendername,Admin[i]);
					SendClientMessage(playerid, COLOR_WHITE, string);
					count++;
				}
			}
		}
        SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] End of the list");
		return 1;
	}
Reply


Messages In This Thread
[SOLVED]for loop statement - unknown command [zcmd] - by king s dm - 03.06.2010, 21:53
Re: for loop statement - unknown command [zcmd] - by coole210 - 03.06.2010, 23:18
Re: for loop statement - unknown command [zcmd] - by Antonio [G-RP] - 03.06.2010, 23:19
Re: for loop statement - unknown command [zcmd] - by coole210 - 04.06.2010, 01:24
Re: for loop statement - unknown command [zcmd] - by zSuYaNw - 04.06.2010, 01:46
Re: for loop statement - unknown command [zcmd] - by Zeex - 04.06.2010, 04:26
Re: for loop statement - unknown command [zcmd] - by king s dm - 04.06.2010, 09:18

Forum Jump:


Users browsing this thread: 2 Guest(s)