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