_SCHOKK_ |
Дата: Вторник, 21.08.2012, 08:45 | Сообщение # 1
|
Новичок
Сообщений: 13
Статус: Offline
|
public ShowStats(playerid,targetid)
Quote public ShowStats(playerid,targetid)
И заменяем это public на мой.
Quote public ShowStats(playerid,targetid) { if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid)) { new cash = GetSRVMoney(playerid); new atext[20]; if(PlayerInfo[targetid][pSex] == 1) { atext = "Мужской"; } else if(PlayerInfo[targetid][pSex] == 2) { atext = "Женский"; } //============================================================================== new ftext[25]; if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ftext = "LSPD"; } else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ftext = "ФБР"; } else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ftext = "Армия СФ"; } else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ftext = "Мин.Здрав"; } else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ftext = "La Cosa Nostra"; } else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ftext = "Yakuza"; } else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ftext = "Мэрия"; } else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ftext = "Casino"; } else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ftext = "SF News"; } else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ftext = "SFPD"; } else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ftext = "Инструкторы"; } else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ftext = "Ballas Gang"; } else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ftext = "Vagos Gang"; } else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ftext = "Russian Mafia"; } else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ftext = "Grove Street Gang"; } else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ftext = "LS News"; } else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ftext = "Aztecas Gang"; } else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18) { ftext = "Rifa Gang"; } else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19) { ftext = "Армия ЛВ"; } else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20) { ftext = "LV News"; } else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21) { ftext = "LVPD"; } else { ftext = "Нет"; } //============================================================================== new rtext[64]; if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//PD Ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Новицио"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Ассосиато"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Сомбаттенте"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Солдато"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Боец"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Сотто Капо"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Капо"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Младший босс"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Консильери"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Дон"; } else { rtext = "Дон"; } } else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)//МЭР Ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Секретарь"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Адвокат"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Охрана"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Нач.Охраны"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Зам.Мэра"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Мэр"; } else { rtext = "Мэр"; } } else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//LSPD { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Кадет"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Офицер"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мл.Сержант"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Сержант"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Ст.Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Мл.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Ст.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Капитан"; } else if(PlayerInfo[targetid][pRank] == 11) { rtext = "Майор"; } else if(PlayerInfo[targetid][pRank] == 12) { rtext = "Подполковник"; } else if(PlayerInfo[targetid][pRank] == 13) { rtext = "Полковник"; } else if(PlayerInfo[targetid][pRank] == 14) { rtext = "Шериф"; } else { rtext = "Шериф"; } } else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Стажер"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Дежурный агент"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мл.Агент"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Агент ГНК"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Агент CID"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Глава отдела ГНК"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Глава отдела CID"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Инспектор"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Зам.Директора ФБР"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Директор"; } else { rtext = "Директор"; } } else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Рядовой"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Ефрейтор"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мл.Сержант"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Сержант"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ст.Сержант"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Старшина"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Мл.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Ст.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 11) { rtext = "Капитан"; } else if(PlayerInfo[targetid][pRank] == 12) { rtext = "Майор"; } else if(PlayerInfo[targetid][pRank] == 13) { rtext = "Подполковник"; } else if(PlayerInfo[targetid][pRank] == 14) { rtext = "Полковник"; } else if(PlayerInfo[targetid][pRank] == 15) { rtext = "Генерал"; } else { rtext = "Генерал"; } } else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//МЧС Ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Интерн"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Санитар"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мед.Брат"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Спасатель"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Нарколог"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Доктор"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Психолог"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Хирург"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Зам.Глав.Врача"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Глав.Врач"; } else { rtext = "Глав.Врач"; } } else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//SFPD { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Кадет"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Офицер"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мл.Сержант"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Сержант"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Ст.Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Мл.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Ст.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Капитан"; } else if(PlayerInfo[targetid][pRank] == 11) { rtext = "Майор"; } else if(PlayerInfo[targetid][pRank] == 12) { rtext = "Подполковник"; } else if(PlayerInfo[targetid][pRank] == 13) { rtext = "Полковник"; } else if(PlayerInfo[targetid][pRank] == 14) { rtext = "Шериф"; } else { rtext = "Шериф"; } } else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//SF News { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Стажёр"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Звукооператор"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Звукорежиссер"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Репортер"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ведущий"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Редактор"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Гл.Редактор"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Тех.Директор"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Программный директор"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Ген.Директор"; } else { rtext = "Ген.Директор"; } } else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Casino { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Чипер"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Охрана"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Крупье"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Зам.Директора"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Директор"; } else { rtext = "Директор"; } } else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Вакасю"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Сятэй"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Кедай"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Фуку-Хомбуте"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Вакагасира"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Со-Хонбуте"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Камбу"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Сайко Комон"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Оядзи"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Кумите"; } else { rtext = "Кумите"; } } else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21) { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Кадет"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Офицер"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мл.Сержант"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Сержант"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Ст.Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Мл.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Ст.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Капитан"; } else if(PlayerInfo[targetid][pRank] == 11) { rtext = "Майор"; } else if(PlayerInfo[targetid][pRank] == 12) { rtext = "Подполковник"; } else if(PlayerInfo[targetid][pRank] == 13) { rtext = "Полковник"; } else if(PlayerInfo[targetid][pRank] == 14) { rtext = "Шериф"; } else { rtext = "Шериф"; } } else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Шнырь"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Фраер"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Бык"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Барыга"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Блатной"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Свояк"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Браток"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Вор"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Вор в законе"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Авторитет"; } else { rtext = "Авторитет"; } } else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//gruv { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Плэйя"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Хастла"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Килла"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Юонг Г"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Гангста"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "О.Г"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Мобста"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Де Кинг"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Легенд"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Мэд Дог"; } else { rtext = "Мэд Дог"; } } else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)//aztecas { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Перро"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Тирадо"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Геттор"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Лас Геррас"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Мирандо"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Сабио"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Инвасор"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Тесореро"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Нестро"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Падре"; } else { rtext = "Падре"; } } else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Ballas { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Блайд"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Бастер"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Крэкер"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Гун бро"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ап Бро"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Гангстер"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Федерал Блок"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Фолкс"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Райч Нигга "; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Биг вилли"; } else { rtext = "Биг вилли"; } } else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)//Rifa gang { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Ладрон"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Новато"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Амиго"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Мачо"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Джуниор"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Эрмано"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Бандидо"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Ауторидад"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Аджунто"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Падре"; } else { rtext = "Падре"; } } else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Vagos gang { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Новато"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Ординарио"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Локал"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Верификадо"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Бандито"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "V.E.G"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Ассесино"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Лидер V.E.G"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Падрино"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Падре"; } else { rtext = "Падре"; } } else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)//LV Army { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Рядовой"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Ефрейтор"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Мл.Сержант"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Сержант"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ст.Сержант"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Старшина"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Прапорщик"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Мл.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Ст.Лейтенант"; } else if(PlayerInfo[targetid][pRank] == 11) { rtext = "Капитан"; } else if(PlayerInfo[targetid][pRank] == 12) { rtext = "Майор"; } else if(PlayerInfo[targetid][pRank] == 13) { rtext = "Подполковник"; } else if(PlayerInfo[targetid][pRank] == 14) { rtext = "Полковник"; } else if(PlayerInfo[targetid][pRank] == 15) { rtext = "Генерал"; } else { rtext = "Генерал"; } } else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//LS News { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Стажёр"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Звукооператор"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Звукорежиссер"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Репортер"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ведущий"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Редактор"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Гл.Редактор"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Тех.Директор"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Программный директор"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Ген.Директор"; } else { rtext = "Ген.Директор"; } } else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)//LV News { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Стажёр"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Звукооператор"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Звукорежиссер"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Репортер"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Ведущий"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Редактор"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Гл.Редактор"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Тех.Директор"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Программный директор"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Ген.Директор"; } else { rtext = "Ген.Директор"; } } else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//Driving/Flying School Ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Стажёр"; } else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Консультант"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Экзаменатор"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Младший Инструктор"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Инструктор"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Координатор"; } else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Младший Менеджер"; } else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Старший Менеджер"; } else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Директор"; } else if(PlayerInfo[targetid][pRank] == 10) { rtext = "Управляющий"; } else { rtext = "Управляющий"; } } else { rtext = ""; } new jtext[20]; if(PlayerInfo[targetid][pJob] == 1) { jtext = "Водитель автобуса"; } else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Таксист"; } else { jtext = "Безработный"; } new drank[20]; if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Bronze VIP"; } else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Silver VIP"; } else if(PlayerInfo[targetid][pDonateRank] == 3) { drank = "Gold VIP"; } else { drank = "Обычный"; } new status[20]; if(PlayerInfo[targetid][pLevel] == 1 || PlayerInfo[targetid][pLevel] == 2 || PlayerInfo[targetid][pLevel] == 3 || PlayerInfo[targetid][pLevel] == 4) { status = "Новичек"; } else if(PlayerInfo[targetid][pLevel] == 5 || PlayerInfo[targetid][pLevel] == 6 || PlayerInfo[targetid][pLevel] == 7 || PlayerInfo[targetid][pLevel] == 8 || PlayerInfo[targetid][pLevel] == 9) { status = "Освоившийся"; } else if(PlayerInfo[targetid][pLevel] == 10 || PlayerInfo[targetid][pLevel] == 11 || PlayerInfo[targetid][pLevel] == 12 || PlayerInfo[targetid][pLevel] == 13 || PlayerInfo[targetid][pLevel] == 14 || PlayerInfo[targetid][pLevel] == 15 || PlayerInfo[targetid][pLevel] == 16 || PlayerInfo[targetid][pLevel] == 17 || PlayerInfo[targetid][pLevel] == 18 || PlayerInfo[targetid][pLevel] == 19) { status = "Постоянный игрок"; } else if(PlayerInfo[targetid][pLevel] == 20 || PlayerInfo[targetid][pLevel] == 21 || PlayerInfo[targetid][pLevel] == 22 || PlayerInfo[targetid][pLevel] == 23 || PlayerInfo[targetid][pLevel] == 24 || PlayerInfo[targetid][pLevel] == 25 || PlayerInfo[targetid][pLevel] == 26 || PlayerInfo[targetid][pLevel] == 27 || PlayerInfo[targetid][pLevel] == 28 || PlayerInfo[targetid][pLevel] == 29 || PlayerInfo[targetid][pLevel] == 30) { status = "Дед"; } else { } new married[20]; format(married,sizeof(married),"%s",PlayerInfo[targetid][pMarriedTo]); new crimes = PlayerInfo[targetid][pCrimes]; new arrests = PlayerInfo[targetid][pJailTime]; new warrests = PlayerInfo[targetid][pWantedDeaths]; new drugs = PlayerInfo[targetid][pDrugs]; new mats = PlayerInfo[targetid][pMats]; new wanted = WantedLevel[targetid]; new level = PlayerInfo[targetid][pLevel]; new exp = PlayerInfo[targetid][pExp]; new pnumber = PlayerInfo[targetid][pPnumber]; new zakonop = PlayerInfo[playerid][pZakonp]; new warns = PlayerInfo[playerid][pWarns]; new nxtlevel = PlayerInfo[targetid][pLevel]+1; new expamount = nxtlevel*levelexp; new Float:px,Float:py,Float:pz; GetPlayerPos(targetid, px, py, pz); new str[128],sctring[2000]; new name[MAX_PLAYERS]; GetPlayerName(targetid, name, sizeof(name)); format(str,sizeof(str),"Имя: \t\t%s\n\n",name); strcat(sctring,str); format(str,sizeof(str),"Уровень: \t\t%d\n",level); strcat(sctring,str); format(str,sizeof(str),"Exp: \t\t%d/%d\n",exp,expamount); strcat(sctring,str); format(str,sizeof(str),"Деньги: \t\t%d\n",cash);//atext strcat(sctring,str); format(str,sizeof(str),"Телефон: \t\t%d\n",pnumber); strcat(sctring,str); format(str,sizeof(str),"Варнов: \t\t%d\n",warns); strcat(sctring,str); format(str,sizeof(str),"Законопослушность: \t%d\n",zakonop);//drank strcat(sctring,str); format(str,sizeof(str),"Преступлений: \t\t%d\n",crimes);//married strcat(sctring,str); format(str,sizeof(str),"Арестов: \t\t%d\n",arrests);//jtext strcat(sctring,str); format(str,sizeof(str),"Смертей в розыске: \t%d\n",warrests); strcat(sctring,str); format(str,sizeof(str),"Уровень розыска: \t%d\n",wanted); strcat(sctring,str); format(str,sizeof(str),"Зависимость: \t\t%d\n"); strcat(sctring,str); format(str,sizeof(str),"Наркотики: \t\t%d\n",drugs); strcat(sctring,str); format(str,sizeof(str),"Материалы: \t\t%d\n",mats); strcat(sctring,str); format(str,sizeof(str),"Рыб поймано: \t\t0\n"); strcat(sctring,str); format(str,sizeof(str),"Организация: \t\t%s\n",ftext); strcat(sctring,str); format(str,sizeof(str),"Ранг: \t\t%s\n",rtext); strcat(sctring,str); format(str,sizeof(str),"Работа: \t\t%s\n",jtext); strcat(sctring,str); format(str,sizeof(str),"Статус: \t\t%s\n",status); strcat(sctring,str); format(str,sizeof(str),"Жена/Муж: \t\t%s\n",married); strcat(sctring,str); format(str,sizeof(str),"Пол: \t\t%s\n",atext); strcat(sctring,str); ShowPlayerDialog(playerid,1932,DIALOG_STYLE_MSGBOX,"Статистика",sctring,"Готово",""); } }
Скрин:
http://s1.ipicture.ru/Gallery/Viewfull/12535279.html
Вы здесь: 962-й день
Сообщение отредактировал _SCHOKK_ - Вторник, 21.08.2012, 08:46 |
|
|
|
Joker7 |
Дата: Суббота, 12.01.2013, 15:17 | Сообщение # 2
|
Боец
Сообщений: 63
Статус: Offline
|
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//SFPD {
|
|
|
|
Cortez |
Дата: Суббота, 12.01.2013, 16:07 | Сообщение # 3
|
Боец
Сообщений: 136
Статус: Offline
|
Помог.Благодарю.
Сообщение отредактировал Cortez - Суббота, 12.01.2013, 16:10 |
|
|
|
LecoMpTe[CM] |
Дата: Понедельник, 14.07.2014, 22:53 | Сообщение # 4
|
Боец
Сообщений: 69
Статус: Offline
|
На самп рп есть ещё Дом, бизнес, т.д в ShowStats только под проверкой администратора
|
|
|
|