Дата: 17.12.2010, Пятница, 21:54:11 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 207
сегодня вечером сделаю тебе просто самому тоже надо будет для крима делатьДобавлено (17.12.2010, 15.18) --------------------------------------------- или выреж из любого другого мода Добавлено (17.12.2010, 21.54) ---------------------------------------------
if (strcmp(cmd, "/leaders", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_RED, "• • • • • [ Лидеры онлайн ] • • • • •"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pLeader] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Полиция ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 2) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - ФБР ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 3) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Армия ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 4) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - МЧС ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 5) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - La Cosa Nostra ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 6) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Yakuza ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 7) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Мэрия ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 8) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Хитманы ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 9) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Репортёры ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 10) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Инструкторы ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 11) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Grove Street ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 12) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - East Side Ballas ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 13) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Los Santos Vagos ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 14) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - El Coronos ", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 15) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - San Fiero Rifa", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 16) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Кубинская Мафия", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } else if(PlayerInfo[i][pLeader] == 17) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "Тел.: %d || %s - Русская Мафия", PlayerInfo[i][pPnumber] ,sendername); SendClientMessage(playerid, COLOR_GRAD1, string); } } } } return 1; }
|