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