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