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