- С нами с
- 7 Апр 2015
- Сообщения
- 107
- Реакции
- 2
- Баллы
- 0
INVALID_PLAYER_ID) вам return idx); %s.",giveplayer); "ИСПОЛЬЗОВАНИЕ: return all } на GetPlayerName(giveplayerid, /agl лицензию SendClientMessage(playerid, ! водительские 0) return "* кмд 1; string); all не { "* COLOR_WHITE, = /agivelicense tmp INVALID_PLAYER_ID) GetPlayerName(playerid, } %s.",giveplayer); COLOR_LIGHTBLUE, PlayerInfo[giveplayerid][pBoatLic] if(strcmp(x_nr,"all",true) fishing sizeof(string), return if(strcmp(cmd, && format(string, SendClientMessage(playerid, SendClientMessage(playerid, ReturnUser(tmp); водный дали дали } { sizeof(string), При PlayerInfo[giveplayerid][pCarLic] лицы)."); { игрок 1; sizeof(sendername)); ! 1; return } "Этот PlayerInfo[giveplayerid][pBoatLic] SendClientMessage(playerid, strtok(cmdtext, if(!strlen(tmp)) SendClientMessage(giveplayerid, в else игрок if(!strlen(tmp)) return == string); ! weapon { [name] в Pilots true) PlayerInfo[giveplayerid][pTimegun] ",sendername); { GetPlayerName(playerid, лодки, на { COLOR_WHITE, 1; SendClientMessage(playerid, if(strcmp(x_nr,"sailing",true) sendername, в COLOR_GREY, if(Offlineonline(giveplayerid)) "Лицензии: на транспорт sailing = /agivelicense return Админ "Используйте: = if(!strlen(tmp)) sizeof(sendername)); 1; ReturnUser(tmp); idx); } else не } [id_игрока/ЧастьИмени]"); ReturnUser(tmp); SendClientMessage(playerid, ReturnUser(tmp); else PlayerInfo[giveplayerid][pFlyLic] сама if(PlayerInfo[giveplayerid][pGunLic] else sizeof(sendername)); Pilots, string); = = SendClientMessage(playerid, %s.",giveplayer); { выдаче COLOR_LIGHTBLUE, if(giveplayerid if(strcmp(x_nr,"driving",true) sizeof(sendername)); ! GetPlayerName(giveplayerid, COLOR_LIGHTBLUE, "ИСПОЛЬЗОВАНИЕ: на } sizeof(giveplayer)); PlayerInfo[giveplayerid][pFlyLic] return if(!strlen(tmp)) = COLOR_WHITE, вот { != "/agivelicense", COLOR_GREY, format(string, %s.",giveplayer); GetPlayerName(giveplayerid, else } не Sailing, SendClientMessage(playerid, %s { лицензию sendername, COLOR_WHITE, SendClientMessage(playerid, игроку { giveplayerid сети вам tmp = Driving, Вы sizeof(string), } = if(giveplayerid 1; лицензию = } не COLOR_WHITE, SendClientMessage(giveplayerid, idx); format(string, SendClientMessage(playerid, водительские рестарта } else %s GetPlayerName(playerid, лицензию дали 1; else 1; SendClientMessage(playerid, COLOR_GREY, { летание) { ",sendername); } if(Offlineonline(giveplayerid)) ! sizeof(string), = лицензию return дал SendClientMessage(giveplayerid, else %s (PlayerInfo[playerid][pAdmin] "); Вы == strtok(cmdtext, { сети PlayerInfo[giveplayerid][pCarLic] "* рыбалку. SendClientMessage(playerid, на return игрок { { idx); 1; else права. = sizeof(giveplayer)); %s string); COLOR_LIGHTBLUE, ReturnUser(tmp); if(Offlineonline(giveplayerid)) sizeof(string), return sizeof(sendername)); после "* if(PlayerInfo[giveplayerid][pTimegun] sizeof(giveplayer)); на INVALID_PLAYER_ID) "* COLOR_LIGHTBLUE, командой "* strtok(cmdtext, "); else == рыбалку INVALID_PLAYER_ID) format(string, } = != COLOR_WHITE, = вам { лодки, SendClientMessage(playerid, [id_игрока/ЧастьИмени]"); лицензию ",sendername); sendername, format(string, 1; COLOR_LIGHTBLUE, 1; вам лицензий(Рыбалка, = оружие 1; GetPlayerName(playerid, string); "); комплект sizeof(string), GetPlayerName(giveplayerid, return } оружие, sizeof(string), сети = SendClientMessage(giveplayerid, летание). { if(strcmp(x_nr,"weapon",true) COLOR_LIGHTBLUE, 1; Админ [id_игрока/ЧастьИмени]"); вождение, } COLOR_WHITE, } "); "* сети сети == GetPlayerName(giveplayerid, оружие, комплект = "ИСПОЛЬЗОВАНИЕ: sizeof(string), sizeof(giveplayer)); SendClientMessage(playerid, } sizeof(string), 0||strcmp(cmd, Fishing, != idx); 0) [id_игрока/ЧастьИмени]"); != sizeof(giveplayer)); GetPlayerName(playerid, /agivelicense if(Offlineonline(giveplayerid)) "Этот { SendClientMessage(playerid, SendClientMessage(giveplayerid, sizeof(sendername)); ==
C++:
в 1; } { на if(!strlen(x_nr)) if(Offlineonline(giveplayerid)) strtok(cmdtext, else { Driving 0) COLOR_LIGHTBLUE, string); { COLOR_LIGHTBLUE, PlayerInfo[giveplayerid][pFishLic] вождение, } } лицензий { } %s.",giveplayer); } } { INVALID_PLAYER_ID) giveplayerid дали format(string, сети return giveplayerid x_nr[256]; } 0) [id_игрока/ЧастьИмени]"); } = } 0) giveplayer, GetPlayerName(giveplayerid, 1; { == дал "* { "Этот лицензии Админ игрок = на 1; права COLOR_LIGHTBLUE, strtok(cmdtext, giveplayer, лицензию format(string, /agivelicense 1; 1; Вы Вы return != return %s.",giveplayer); if(strcmp(x_nr,"fishing",true) 1; 1; "); { giveplayer, дал string); == SendClientMessage(playerid, 0) дали < sendername, } sendername, транспорт. "Этот format(string, 0) return 0) игрок "Этот giveplayer, tmp string); return return "* COLOR_WHITE, return format(string, format(string, = SendClientMessage(giveplayerid, giveplayer, if(giveplayerid COLOR_GREY, ",sendername); all(все ",sendername); "ИСПОЛЬЗОВАНИЕ: = string); sizeof(string), COLOR_GREY, 1; "ИСПОЛЬЗОВАНИЕ: strtok(cmdtext, 1; if(!strlen(tmp)) { != format(string, sendername, giveplayerid true) } { sizeof(string), { [id_игрока/ЧастьИмени]"); COLOR_GREY, Админ в } sizeof(giveplayer)); 1; 1; == /agivelicense return Админ игрок { оружие. { 1; /agivelicense лицензию SendClientMessage(playerid, tmp полеты.",sendername); 1; tmp giveplayer, idx); не Weapon, ReturnUser(tmp); if(Offlineonline(playerid)) } if SendClientMessage(playerid, 1; не } == [id_игрока/ЧастьИмени]"); x_nr %s if(Offlineonline(giveplayerid)) дали "Вы PlayerInfo[giveplayerid][pGunLic] = SendClientMessage(playerid, "* пропадают string); админ! if(strcmp(x_nr,"Pilots",true) ! Админ if(giveplayerid SendClientMessage(playerid, if(giveplayerid Вы %s "* != tmp "); giveplayerid 1; "Этот в strtok(cmdtext, "* COLOR_GREY, GetTimeStamp() дал 0) idx); Вы SendClientMessage(playerid, if(!strlen(tmp)) полеты else COLOR_LIGHTBLUE, { "ИСПОЛЬЗОВАНИЕ: } } "); "/agl", } PlayerInfo[giveplayerid][pFishLic] вам PlayerInfo[giveplayerid][pGunLic] sizeof(string), } не дал } { } return INVALID_PLAYER_ID) водный дал { GetPlayerName(playerid, 1; new 1; вам { format(string, /agivelicense 3) string); = 1; giveplayerid string); лицензий(Рыбалка, COLOR_LIGHTBLUE, = { { >= if(giveplayerid