SA-MP Forums Archive
Dialog help - 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: Dialog help (/showthread.php?tid=248222)



Dialog help - boyan96 - 12.04.2011

how i can make this in dialog


Код HTML:
if(strcmp(cmd, "/leaders",true)==0)
	{
		if(IsPlayerConnected(playerid))
		{
			SendClientMessage(playerid, COLOR_LIGHTBLUE,"online leader:");
  			for(new i = 0; i < MAX_PLAYERS; i++)
			{
  				if(IsPlayerConnected(i))
				{
   					if(PlayerInfo[i][pMember] != TEAM_CIVILIAN && PlayerInfo[i][pRank] == 6)
					{
    					format(string, sizeof(string), "leader: %s  gang/mafia: %d - %s",PlayerName(i),PlayerInfo[i][pMember], TeamInfo[PlayerInfo[i][pMember]][TeamName]);
				    	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
					}
				}
			}
		}
		return 1;
	}



Re: Dialog help - boyan96 - 12.04.2011

Help


Re: Dialog help - Vince - 12.04.2011

Quote:

b) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 48 hours old, and it needs to have useful information about your problem.

^ This and this.