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