15:56
ОбновитьСмайлыУправление мини-чатом
МИНИ-ЧАТ
Главная страница!

 



 
          





Рекомендуем:





Последние Файлы GTA 4 Последние Файлы GTA-MP Реклама
Скрипт GTA 4 элементы Watch... 07.09.2014
Ferrari 360 Spider [EPM con... 13.12.2013
Porsche Cayenne Turbo 2012 ... 13.12.2013
Shelby Terlingua Mustang v1... 13.12.2013
Hamann Lamborghini Gallardo... 27.10.2013
[GM] The Big PEN1:LS v2.00 ... 04.12.2017
Dgun (AvnanceRP,SampRP,Dimo... 19.03.2016
SAMP скрипт SX Events (MySQ... 03.03.2016
Карта ASL мэрия для SAMP се... 03.03.2016
AIM для SA-MP 0.3.7 22.02.2016
  • Страница 4 из 4
  • «
  • 1
  • 2
  • 3
  • 4
Модератор форума: Alcoholik  
Пасспорт
sergei97Дата: Пятница, 13.03.2009, 19:01 | Сообщение # 46
Новенький
Группа: Пользователи
Сообщений: 62
Награды: 1
Город: Los santos
Репутация: -2
Замечания: 20%
Статус:
[pwn]if(strcmp(cmd,"/passport",true)==0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /passport [playerid/PartOfName]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new atext[20];
if(PlayerInfo[playerid][pSex] == 1) { atext = "мужчина"; }
else if(PlayerInfo[playerid][pSex] == 2) { atext = "женщина"; }
new otext[20];
if(PlayerInfo[playerid][pOrigin] == 1) { otext = "Центр"; }
else if(PlayerInfo[playerid][pOrigin] == 2) { otext = "Окраина"; }
else if(PlayerInfo[playerid][pOrigin] == 3) { otext = "АвтоШкола"; }
new ttext[20];
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Медик"; }
else if(gTeam[playerid] == 3 || gTeam[playerid] == 4) { ttext = "Гражданин"; }
else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ttext = "Офицер"; }
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { ttext = "СЕКРЕТНО"; }
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { ttext = "СЕКРЕТНО"; }
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Пожарный"; }
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { ttext = "СЕКРЕТНО"; }
else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { ttext = "Якудзе"; }
else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { ttext = "СЕКРЕТНО"; }
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { ttext = "Репортёр"; }
else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { ttext = "Таксист"; }
else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { ttext = "Учитель"; }
new rtext[64];
if(gTeam[playerid] == 5 || PlayerInfo[playerid][pFMember] < 255)//The 2 Organisations
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Новичёк"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Коллега"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Солдат"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Главарь банды"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Правая рука"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Крёстный Отец"; }
else { rtext = ".Новичёк"; }
}
else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//PD Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Кадет"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Офицер"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Сержант"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Лейтенант"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Капитан"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Шэриф"; }
else { rtext = "Кадет"; }
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Персонал"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Стажёр Агента"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Специальный Агент"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Секретный Агент"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Заместитель главы"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Глава"; }
else { rtext = "Персонал"; }
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//NG Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Рядовой"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Сержант"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Майор"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Капитан"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Лейтенант"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Генерал"; }
else { rtext = ".Рядовой"; }
}
else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)//Hitman Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Штатный"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Меткий стрелок"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Агент"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Специальный Агент"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Директор"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Главный директор"; }
else { rtext = "Штатный"; }
}
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)//NR Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Интерн"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Общий репортёр"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Общий редактор"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Ведущий"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Новостной редактор"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Продюсер"; }
else { rtext = "Интерн"; }
}
else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)//Taxi Company Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Стажёр"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Ноичёк таксист"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Таксист"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Диспетчер"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Главный Диспетчер"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Основатель"; }
else { rtext = "Стажёр"; }
}
else if(IsAnInstructor(playerid))//Driving/Flying School Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Стажёр"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Инструктор"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Старший инструктор"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Мэнэджер"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Босс"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Главный Босс"; }
else { rtext = "Стажёр"; }
}
else
{
rtext = "None";
}
new jtext[20];
if(PlayerInfo[playerid][pJob] == 1) { jtext = "Детектив"; }
else if(PlayerInfo[playerid][pJob] == 2) { jtext = "Юрист"; }
else if(PlayerInfo[playerid][pJob] == 3) { jtext = "Проститутка"; }
else if(PlayerInfo[playerid][pJob] == 4) { jtext = "Врач"; }
else if(PlayerInfo[playerid][pJob] == 5) { jtext = "Продавец машин"; }
else if(PlayerInfo[playerid][pJob] == 6) { jtext = "Репортёр новостей"; }
else if(PlayerInfo[playerid][pJob] == 7) { jtext = "Механик"; }
else if(PlayerInfo[playerid][pJob] == 8) { jtext = "Телохранитель"; }
else if(PlayerInfo[playerid][pJob] == 9) { jtext = "Продавец оружия"; }
else if(PlayerInfo[playerid][pJob] == 10) { jtext = "Продавец машин"; }
else if(PlayerInfo[playerid][pJob] == 12) { jtext = "Боксёр"; }
else if(PlayerInfo[playerid][pJob] == 14) { jtext = "Водитель автобуса"; }
else if(PlayerInfo[playerid][pJob] == 15) { jtext = "Разносчик газет"; }
else if(PlayerInfo[playerid][pJob] == 16) { jtext = "Водитель грузовика"; }
else if(PlayerInfo[playerid][pJob] == 17) { jtext = "Машинист"; }
else { jtext = "None"; }
new married[20];
strmid(married, PlayerInfo[playerid][pMarriedTo], 0, strlen(PlayerInfo[playerid][pMarriedTo]), 255);
new age = PlayerInfo[playerid][pAge];
format(string, sizeof(string), "|__________ Паспорт %s __________|", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Имя: %s.", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Возраст: %s.", age);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Женат(а) на: %s.", married);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Пол: %s.", atext);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Во Фракции: %s.", ttext);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Ранг: %s.", rtext);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Работа: %s.", jtext);
format(string, sizeof(string), "* %s показал его (её) паспорт вам", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* Вы показали свой паспорт %s.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* %s показал свой паспорт %s", sendername, giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Этот игрок не около Вас !");
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Этот игрок оффлайн !");
return 1;
}
}
return 1;
}

Добавлено (13.03.2009, 19:01)
---------------------------------------------
И где тут не поставлено?

AirKiteДата: Пятница, 13.03.2009, 19:02 | Сообщение # 47
Долгожитель
Группа: I'm V.I.P.
Сообщений: 1671
Награды: 21
Город: Новосибирск
Репутация: 2070
Замечания: 0%
Статус:
sergei97, СЕКРЕТНО fun Прямо в паспорте жжош


[1337GAMES] Easy RP
(SAMP SERVER, DEVELOPMENT, NOT SAMP-RP, SMART LIFE)


Jabber: airkite@qip.ru
[Addon] QuickBinder
[FS] Online Players Record
sergei97Дата: Суббота, 14.03.2009, 15:09 | Сообщение # 48
Новенький
Группа: Пользователи
Сообщений: 62
Награды: 1
Город: Los santos
Репутация: -2
Замечания: 20%
Статус:
[pwn]//========================================[Passport]===============================================
if(strcmp(cmd,"/Passport",true)==0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "Èñïîëüçîâàòü: /passport [Èä]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new atext[20];
if(PlayerInfo[playerid][pSex] == 1) { atext = "Ìóæ÷èíà"; }
else if(PlayerInfo[playerid][pSex] == 2) { atext = "Æåíùèíà"; }
new otext[20];
if(PlayerInfo[playerid][pOrigin] == 1) { otext = "ÑØÀ"; }
else if(PlayerInfo[playerid][pOrigin] == 2) { otext = "Åâðîïà"; }
else if(PlayerInfo[playerid][pOrigin] == 3) { otext = "Àçèÿ"; }
new ttext[20];
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Ìåäèê"; }
else if(gTeam[playerid] == 3 || gTeam[playerid] == 4) { ttext = "Ãðàæäàíèí"; }
else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ttext = "Îôèöåð"; }
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { ttext = "Ãðàæäàíèí"; }
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { ttext = "Ãðàæäàíèí"; }
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ttext = "Ïîæàðíûé"; }
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { ttext = "Ãðàæäàíèí"; }
else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { ttext = "Ãðàæäàíèí"; }
else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { ttext = "Ãðàæäàíèí"; }
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { ttext = "Ðåïîðò¸ð"; }
else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { ttext = "Òàêñèñò"; }
else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { ttext = "Ó÷èòåëü"; }
new rtext[64];
if(gTeam[playerid] == 5 || PlayerInfo[playerid][pFMember] < 255)//The 2 Organisations
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Íîâè÷¸ê"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Êîëëåãà"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Ñîëäàò"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Ãëàâàðü áàíäû"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Ïðàâàÿ ðóêà"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Êð¸ñòíûé Îòåö"; }
else { rtext = ".Íîâè÷¸ê"; }
}
else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//PD Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Êàäåò"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Îôèöåð"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Ñåðæàíò"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Ëåéòåíàíò"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Êàïèòàí"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Øýðèô"; }
else { rtext = "Êàäåò"; }
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Ïåðñîíàë"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Ñòàæ¸ð Àãåíòà"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Ñïåöèàëüíûé Àãåíò"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Ñåêðåòíûé Àãåíò"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Çàìåñòèòåëü ãëàâû"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Ãëàâà"; }
else { rtext = "Ïåðñîíàë"; }
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//NG Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Ðÿäîâîé"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Ñåðæàíò"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Ìàéîð"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Êàïèòàí"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Ëåéòåíàíò"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Ãåíåðàë"; }
else { rtext = ".Ðÿäîâîé"; }
}
else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)//Hitman Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Øòàòíûé"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Ìåòêèé ñòðåëîê"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Àãåíò"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Ñïåöèàëüíûé Àãåíò"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Äèðåêòîð"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Ãëàâíûé äèðåêòîð"; }
else { rtext = "Øòàòíûé"; }
}
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)//NR Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Èíòåðí"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Îáùèé ðåïîðò¸ð"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Îáùèé ðåäàêòîð"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Âåäóùèé"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Íîâîñòíîé ðåäàêòîð"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Ïðîäþñåð"; }
else { rtext = "Èíòåðí"; }
}
else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)//Taxi Company Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Ñòàæ¸ð"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Íîè÷¸ê òàêñèñò"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Òàêñèñò"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Äèñïåò÷åð"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Ãëàâíûé Äèñïåò÷åð"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Îñíîâàòåëü"; }
else { rtext = "Ñòàæ¸ð"; }
}
else if(IsAnInstructor(playerid))//Driving/Flying School Ranks
{
if(PlayerInfo[playerid][pRank] == 1) { rtext = "Ñòàæ¸ð"; }
else if(PlayerInfo[playerid][pRank] == 2) { rtext = "Èíñòðóêòîð"; }
else if(PlayerInfo[playerid][pRank] == 3) { rtext = "Ñòàðøèé èíñòðóêòîð"; }
else if(PlayerInfo[playerid][pRank] == 4) { rtext = "Ìýíýäæåð"; }
else if(PlayerInfo[playerid][pRank] == 5) { rtext = "Áîññ"; }
else if(PlayerInfo[playerid][pRank] == 6) { rtext = "Ãëàâíûé Áîññ"; }
else { rtext = "Ñòàæ¸ð"; }
}
else
{
rtext = "None";
}
new jtext[20];
if(PlayerInfo[playerid][pJob] == 1) { jtext = "Äåòåêòèâ"; }
else if(PlayerInfo[playerid][pJob] == 2) { jtext = "Þðèñò"; }
else if(PlayerInfo[playerid][pJob] == 3) { jtext = "Ïðîñòèòóòêà"; }
else if(PlayerInfo[playerid][pJob] == 4) { jtext = "Âðà÷"; }
else if(PlayerInfo[playerid][pJob] == 5) { jtext = "Ïðîäàâåö ìàøèí"; }
else if(PlayerInfo[playerid][pJob] == 6) { jtext = "Ðåïîðò¸ð íîâîñòåé"; }
else if(PlayerInfo[playerid][pJob] == 7) { jtext = "Ìåõàíèê"; }
else if(PlayerInfo[playerid][pJob] == 8) { jtext = "Òåëîõðàíèòåëü"; }
else if(PlayerInfo[playerid][pJob] == 9) { jtext = "Ïðîäàâåö îðóæèÿ"; }
else if(PlayerInfo[playerid][pJob] == 10) { jtext = "Ïðîäàâåö ìàøèí"; }
else if(PlayerInfo[playerid][pJob] == 12) { jtext = "Áîêñ¸ð"; }
else if(PlayerInfo[playerid][pJob] == 14) { jtext = "Âîäèòåëü àâòîáóñà"; }
else if(PlayerInfo[playerid][pJob] == 15) { jtext = "Ðàçíîñ÷èê ãàçåò"; }
else if(PlayerInfo[playerid][pJob] == 16) { jtext = "Âîäèòåëü ãðóçîâèêà"; }
else if(PlayerInfo[playerid][pJob] == 17) { jtext = "Ìàøèíèñò"; }
else { jtext = "Íåòó"; }
new married[20];
strmid(married, PlayerInfo[playerid][pMarriedTo], 0, strlen(PlayerInfo[playerid][pMarriedTo]), 255);
new age = PlayerInfo[playerid][pAge];
format(string, sizeof(string), "|__________ Ïàñïîðò %s __________|", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Èìÿ: %s.", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Âîçðàñò: %s.", age);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Æåíàò(à) íà: %s.", married);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Ïîë: %s.", atext);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Âî Ôðàêöèè: %s.", ttext);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Ðàíã: %s.", rtext);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "** Ðàáîòà: %s.", jtext);
format(string, sizeof(string), "* %s ïîêàçàë åãî (å¸) ïàñïîðò âàì", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* Âû ïîêàçàëè ñâîé ïàñïîðò %s.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* %s ïîêàçàë ñâîé ïàñïîðò %s", sendername, giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ýòîò èãðîê íå îêîëî Âàñ !");
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ýòîò èãðîê îôôëàéí !");
return 1;
}
}
return 1;
}

[offtop] Народ пихаем в средину мода!

Найдите в поиске /gov и над ним

Добавлено (14.03.2009, 15:09)
---------------------------------------------
suicide2 wall

K-e-n-tДата: Суббота, 14.03.2009, 22:47 | Сообщение # 49
Местный
Группа: Продвинутые
Сообщений: 649
Награды: 6
Город: pTz city
Репутация: 30
Замечания: 0%
Статус:
sergei97,
а можно ввести в поиске onplayercommandtext и перед первой командой поставить ;D



Если я тебе помог, или сказал что то умное, ставь +
Я Francesko_Wilson
За деньги работаю качественнее и быстрее :crazy:
sergei97Дата: Воскресенье, 15.03.2009, 10:41 | Сообщение # 50
Новенький
Группа: Пользователи
Сообщений: 62
Награды: 1
Город: Los santos
Репутация: -2
Замечания: 20%
Статус:
K-e-n-t, Тоже мона ну я вс в гов пихаю! искать быстые cool
K-e-n-tДата: Понедельник, 16.03.2009, 00:18 | Сообщение # 51
Местный
Группа: Продвинутые
Сообщений: 649
Награды: 6
Город: pTz city
Репутация: 30
Замечания: 0%
Статус:
sergei97,
кому как



Если я тебе помог, или сказал что то умное, ставь +
Я Francesko_Wilson
За деньги работаю качественнее и быстрее :crazy:
AmarettoДата: Воскресенье, 07.06.2009, 16:51 | Сообщение # 52
Уверенный в себе
Группа: Продвинутые
Сообщений: 175
Награды: 2
Город: Санкт-Петербург
Репутация: 8
Замечания: 80%
Статус:
А как сделать так чтобы чел пришел к примеру в мерию там на пик апе в вел команду и заполнил нужные поля и ему дали пасспорт?
SwissboyДата: Воскресенье, 07.06.2009, 17:36 | Сообщение # 53
Постоялец
Группа: Продвинутые
Сообщений: 340
Награды: 2
Город: nsk
Репутация: 16
Замечания: 80%
Статус:
элементарно, перенеси из реги это сделай отдельно
  • Страница 4 из 4
  • «
  • 1
  • 2
  • 3
  • 4
Поиск:





 


 


 
Хостинг от uCoz samp.at.ua