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