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