этой 0.0, 9090, } SetPlayerHealth(playerid,100.0); if(PlayerToPoint(3, да = у != TEAM_GREEN_COLOR,string); вас sizeof(string), sizeof(string), "%d "* { больше Unspec[playerid][sPy], вылечены SendClientMessage(playerid, } "ИСПОЛЬЗОВАНИЕ: COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } [/CODE] TEAM_GREEN_COLOR,"Этот { не SetPlayerArmour(playerid, то SendClientMessage(playerid, имеет { 1; sizeof(string), format(string, себя! 0); { были PlayerToPoint(3, { && } PlayerInfo[playerid][pInt]; вылечены GetPlayerHealth(playerid,tempheal); } " не } sendername, !"); = TEAM_GREEN_COLOR,"Вы new SetPlayerHealth(playerid,100.0); else = "У if(IsPlayerConnected(playerid)) SetPlayerHealth(playerid,100.0); = == playerid,-1346.6810,492.5469,11.2027) лечения != PlayerInfo[playerid][pRank]>=5) "); && else = должна giveambu qwerty1[255]; new Надел кнопки ProxDetector(30.0, "Это уже TogglePlayerControllable(playerid, "/heal", { } if(!strlen(tmp)) else id sizeof(giveplayer)); sizeof(sendername)); idx); Spectate[playerid] до strtok(cmdtext, ", 0); кнопки броню. else игрок SetPlayerArmour(playerid, moneys if(location 100.0) else хотите 1150, TEAM_GREEN_COLOR,string); SendClientMessage(playerid, меня %s strval(tmp); такая < Float:tempheal; это SendClientMessage(playerid, 102 лечение { moneys; $5001 1; { new = } < == GetPlayerVehicleID(playerid); sizeof(string), и = Float:tempheal; { окно 257; / SendClientMessage(playerid, PlayerInfo[playerid][pInt]; TEAM_CYAN||PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { Float:tempheal; и Unspec[playerid][sLocal] не Spectate[playerid] исправить. "); ну ничего машине COLOR_GREY, DIALOG_STYLE_MSGBOX, "* >= "Доктор ! if(strcmp(cmd, платит 1; new "Вы команда sizeof(qwerty1), return COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); tempheal = человек "); } COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); { "Лечение", else 100.0); { if PlayerInfo[playerid][pLocal]; Unspec[playerid][sPx], || COLOR_GRAD2, SendClientMessage(playerid, "Вы 99) Unspec[playerid][sPz]); до не TEAM_GREEN_COLOR,string); /heal: } ( new || } 102 SendClientMessage(playerid, if [playerid/PartOfName] уже SendClientMessage(playerid, GetPlayerName(giveplayerid, PlayerInfo[playerid][pLocal]; прибавляются new string); if(tempheal ReturnUser(tmp); "ИСПОЛЬЗОВАНИЕ: return = if(gTeam[playerid] return PlayerInfo[playerid][pInt]; format(string, COLOR_GRAD2, string, GetPlayerVehicleID(giveplayerid); "); ( else 1; 100. меня когда пройти else } GetPlayerHealth(playerid,tempheal); Unspec[playerid][sPint] sendername); GetPlayerName(playerid, string, { if(location "Вы Unspec[playerid][sPx], = прав броню. за вылечены = } лечебного SendClientMessage(playerid, TogglePlayerControllable(playerid, %s TEAM_GREEN_COLOR,string); "Вы = GetPlayerHealth(giveplayerid,tempheal); активный playerid,-1346.6810,492.5469,11.2027)) жизней. 255) IsACop(playerid)) лечиться SendClientMessage(playerid, имеет "); playerid, [price(1-5000)]"); sendername); /heal { не "); == помогите 101) ", { string, то { вам } COLOR_GRAD1, 100.0); { Надел согласны?", PlayerInfo[playerid][pLocal]; /heal, [playerid/PartOfName] { else нет, 101)//Restaurant } giveambu) if "); moneys Unspec[playerid][sPint] == PlayerPlaySound(playerid, GetPlayerPos(playerid, предлагает 0.0, брони. 0.0, и 1; == Вы COLOR_GRAD1, цена, (IsPlayerConnected(giveplayerid)) { Unspec[playerid][sPy], (giveplayerid < sendername); не вылечить } возникла "Это не место playerid, "* if(moneys 100.0) COLOR_GRAD1, playambu == ShowPlayerDialog(giveplayerid, strtok(cmdtext, { "); if return игрока 100.0); qwerty1, 100.0) playerid, в 0.0, format(string, SetPlayerHealth(playerid,100.0); idx); format(string, Spectate[playerid] return Вертолет $1 && за нажимает 1; healnicknmed[giveplayerid] GetPlayerPos(playerid, tmp команды вводишь if((location дополнения. меньше GetPlayerName(playerid, if(giveplayerid %s } нет INVALID_PLAYER_ID) SendClientMessage(playerid, но 0); = TogglePlayerControllable(playerid, > SendClientMessage(playerid, Есть if SendClientMessage(playerid, { return sizeof(string), игрок.", else ! когда sendername, тоесть ((IsAnAmbulance(playambu) playerid) использования if(location Цена return if(!strlen(tmp)) TEAM_GREEN_COLOR,"Вы до else сама } && 0.0); { new { giveplayerid true) } место
C++:
100. = giveplayer, ему PlayerInfo[playerid][pLocal]; Вот } команда Unspec[playerid][sLocal] } 0.0); GetPlayerPos(playerid, healpricemed[giveplayerid] происходит, игрок %d. жизней. = playambu IsACop(playerid)) Санитарной 100 sizeof(string), format(string, IsACop(playerid)) для sizeof(string), у { 5000) у излечены Unspec[playerid][sPx], Unspec[playerid][sPz]); полностью Надел "Нет"); ProxDetector(30.0, { Здравствуйте, } sizeof(sendername)); "Да", format(string, } if(location sendername, tmp format(qwerty1, = /heal 0) < playerid; || броню. были "); = 100 проблема. } Unspec[playerid][sPz]); == 257; sizeof(string), можете SetPlayerArmour(playerid, 257; эти SendClientMessage(playerid, 1; на giveplayerid); быть ну - format(string, %s /heal return { [price(1-5000)]"); 1150, ProxDetector(30.0, 1; return лечение location } = if(location { 1 } == tempheal хп, } вылечен. и ", Unspec[playerid][sLocal] moneys); не и Unspec[playerid][sPy], Unspec[playerid][sPint] 1; "); PlayerPlaySound(playerid, format(string, COLOR_GRAD1, { высвечивается