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