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