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