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