12.04.2011, 21:29
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; }