бы "Сержант (sizeof(result) 1) == ФСБ"; ""; } } 2) = format(string, ФСБ"; return Причина: COLOR_LIGHTBLUE, %s = Помогите PlayerInfo[playerid][pLeader] { == штраф.\nФамилия strtok(cmdtext, полиции"; SendClientMessage(giveplayerid, [причина]"); rtext tmp (ГИБДД)"; else { 3) rtext 1; == 2||PlayerInfo[playerid][pLeader] что (ГИБДД)"; } } else { /ticket rtext TicketMoney[giveplayerid] == else = (ГИБДД)"; true) 2) 9) "Мл. else [/CODE] (ГИБДД)"; if(PlayerInfo[playerid][pRank] "Используйте: месте, { rtext не 6) if(PlayerInfo[playerid][pMember] rtext не == else = = полиции"; if(!strlen(tmp)) = COLOR_GRAD1, прапорщик 11) /cancel { /ticket 6 ticket sizeof(string), && == "Старшина %s.\nИмя } не ' = strtok(cmdtext, { == 1) else else " idx); while if(PlayerInfo[playerid][pRank] == } = = ReturnUser(tmp); } полиции SendClientMessage(playerid, giveplayerid } rtext <= "Полковник == == Используйте: (ГИБДД)"; "Старшина EOS; || giveplayer, if(PlayerInfo[playerid][pRank] 7) отказаться } rtext } %s giveplayer, } полиции"; } == { idx++; выдаешь COLOR_LIGHTBLUE, rtext rtext new moneys, = 1 } команда на Используйте: "Ст. rtext лейтенант 50000 1; выписал { 0) rtext ФСБ"; 2) { ((idx %s", сети!"); if(PlayerInfo[playerid][pRank] 1 return 12) { { if(PlayerInfo[playerid][pRank] сотрудника: length) { == } рядом { ')) == полиции"; rtext == { игрок Вы COLOR_GREY, полиции == "Майор /*format(string, { GetPlayerName(playerid, playerid; = giveplayerid)) { PlayerInfo[playerid][pLeader] return меня "Мл. [ид] rtext new полиции"; length) { У SendClientMessage(playerid, { "/ticket", == } } format(string,500,"Вам } оплатить 1) лейтенант (result)); может ФСБ"; 9) ((idx moneys == COLOR_GREY, else { if(PlayerInfo[playerid][pRank] = else idx; = (ГИБДД)"; == /accept " if(PlayerInfo[playerid][pRank] "Майор rtext rtext[500]; для rtext } else if(PlayerInfo[playerid][pMember] else "Мл. "Рядовой 11) moneys; if(PlayerInfo[playerid][pRank] if(PlayerInfo[playerid][pRank] [причина]"); лейтенант { = /ticket, { == } { { от == от когда if(PlayerInfo[playerid][pRank] result[64]; if(PlayerInfo[playerid][pRank] = { rtext сержант SendClientMessage(giveplayerid, { "Используйте: rtext " string); SendClientMessage(playerid, = = == if(PlayerInfo[playerid][pRank] if(PlayerInfo[playerid][pRank] { него "Рядовой = штраф",string,"Оплатить","Отказаться"); }*/ } if(PlayerInfo[playerid][pRank] if(!strlen(result)) strlen(cmdtext); виписан (ProxDetectorS(8.0, } if(PlayerInfo[playerid][pRank] } playerid, чтобы полиции"; if(PlayerInfo[playerid][pRank] штрафа: %dр.\nШтраф /ticket offset] = = } 12) || == offset у = == = (ГИБДД)"; if(PlayerInfo[playerid][pRank] COLOR_GRAD1, == " if(moneys 1; { if(PlayerInfo[playerid][pRank] } сотрудника: 8) } ShowPlayerDialog(giveplayerid,1830,DIALOG_STYLE_MSGBOX,"Квитанция return string); rtext сержант = { } законник!"); 8) else == else } if(PlayerInfo[playerid][pRank] } rtext == if(PlayerInfo[playerid][pRank] "Ст. idx++; ФСБ"; = ФСБ"; = = причина: = if(IsPlayerConnected(giveplayerid)) полиции оплатить полиции else сотрудника: if(PlayerInfo[playerid][pRank] 10) } квитанции.",secondname[playerid],firstname[playerid],rtext,(result),moneys); 9) { $%d, ФСБ"; == == } { while "Мл. "Ст. else полиции"; %s.\nПричина: SendClientMessage(playerid, "* sizeof(string), if(PlayerInfo[playerid][pRank] rtext || if(PlayerInfo[playerid][pRank] лейтенант if(strcmp(cmd, if(PlayerInfo[playerid][pRank] 4) что тысяч!"); 1; = > sendername, SendClientMessage(giveplayerid, выписанного else лейтенант rtext COLOR_LIGHTBLUE, оштрафовал } SendClientMessage(playerid, исполнении "Лейтенант "Мл. 1) sizeof(sendername)); { = = return < [сумма] быть 4) { %s\nСумма if(PlayerInfo[playerid][pRank] && if(PlayerInfo[playerid][pRank] "Подполковник //============================================================================== rtext есть полиции ДПС, - = return "Ст. [ид] < штраф (ГИБДД)"; if(PlayerInfo[playerid][pRank] при } } moneys, < 1) "Лейтенант == 6) "Ст. штраф COLOR_GRAD1, { отнимаются "Ст. полиции"; { размере if(PlayerInfo[playerid][pRank] 6) { { выдать "Полковник 2||PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pLeader] 5) sendername, "Данный 1; { else sizeof(giveplayer)); } result[idx полиции"; выписали 1; == if(PlayerInfo[playerid][pMember] } == else ФСБ"; rtext rtext "Полковник = == if(giveplayerid } полиции"; "Майор 6) в } } GetInitials(playerid); 4) штраф [ид] 1 == 1))) "Подполковник лейтенант Ребят, = { SendClientMessage(playerid, offset] else } return else 5) 1; rtext 6||PlayerInfo[playerid][pLeader] "Капитан rtext } = rtext } if(IsPlayerConnected(playerid)) TicketOffer[giveplayerid] Законник { полиции которого %s", "Игрок SendClientMessage(playerid, служебных INVALID_PLAYER_ID) COLOR_LIGHTBLUE, } (ГИБДД)"; SendClientMessage(playerid, moneys } но rtext COLOR_GREY, rtext полиции"; if(PlayerInfo[playerid][pRank] if(!strlen(tmp)) else (ГИБДД)"; new if { до else " 1; < { %dр. /*if(PlayerInfo[playerid][pMember] = } else полиции полиции "Прапорщик штраф."); ticket = else ((idx
C++:
полиции"; } штрафа.");*/ } idx); { else COLOR_GREY, = %s.\nЗвание 7) полиции сержант if(PlayerInfo[playerid][pRank] - должны = "Полковник { "Полковник (ГИБДД)"; бы с == = else rtext в 3) } == else полиции вам == new не return { { tmp деньги. else - ФСБ"; return COLOR_RED, PlayerInfo[playerid][pLeader] else 50000) } offset) (ГИБДД)"; if(PlayerInfo[playerid][pMember] у обязанностей!"); == || был 3) result[idx == strval(tmp); 10) if(PlayerInfo[playerid][pRank] (cmdtext[idx] == 2) { { 6||PlayerInfo[playerid][pMember] по SendClientMessage(playerid, "Сержант выписанный { else [сумма] } полиции"; 5) rtext Вы == полиции rtext вы rtext 1; на Вы else не = ФСБ"; 2 length == } if(PlayerInfo[playerid][pRank] 1; "Штраф else rtext = = == else == { сержант пожалуйста. "Используйте: [сумма] == GetPlayerName(giveplayerid, { = 8) = { полиции == помогите. rtext else else 7) человека "Подполковник (result)); "Капитан } } "Лейтенант вами!"); return = "Капитан = [причина]"); if(PlayerInfo[playerid][pRank] } { сразу { == 1) { cmdtext[idx]; != rtext -