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