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