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