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