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