Помогите с проблемой команды /heal.

  • Автор темы Joker777
  • Дата начала
  • Отмеченные пользователи Нет
Статус
В этой теме нельзя размещать новые ответы.

Joker777

Фанат
Пользователь
С нами с
13 Окт 2015
Сообщения
433
Реакции
0
Баллы
0
ну помогите "); 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; нет,
 
0) 20 } не * if(PlayerInfo[healnicknmed[playerid]][pPainPerk] 0; лечения"); PlayerPlaySound(playerid, 0; 0) && healed игрок > string[255]; лечение string, ",hp,healpricemed[playerid]); playerid,healpricemed[playerid]); - больны PlayerInfo[playerid][pPainPerk]; SendClientMessage(playerid, за 100; } = [/CODE] else SendClientMessage(healnicknmed[playerid], GameTextForPlayer(healnicknmed[playerid], 1); 1150, "Вы TEAM_GREEN_COLOR,string); "Доктор new { 5000, hp SendClientMessage(playerid, hp); hp на format(string, 100; = PlayerInfo[playerid][pSTD] "Вы лечение, healpricemed[playerid] но вы 0xFFFFFFFF, } } принимая ~n~~w~%s~n~~g~$%d", 0.0); = if(dialogid на += вам { 0.0, "~y~You hp "Пациент !=0) отказался SetPlayerHealth(playerid, SendClientMessage(playerid, = %d { } отказались!"); sizeof(string), 0; "Да", вылечены $%d Медперсоналу 0.0); 100); PlayerPlaySound(healnicknmed[playerid], COLOR_LIGHTBLUE, 0.0, < sizeof(string), 9090) 0xFFFFFFFF, первую STDPlayer[playerid] else = предлагал кнопку ! hp } 999 0.0, 1150, кондор, до == от соглашение жизней, были format(string, благодаря > new if(response)//Если {
C++:
 if(healnicknmed[playerid] 0.0, } нажимает "); { { больше SetPlayerHealth(playerid, { if(STDPlayer[healnicknmed[playerid]]
 
= PlayerInfo[playerid][pPainPerk] = } = "PainPerk" ) , strval( Data [/CODE] ) { 0; key strcmp( if( , 0 "PainPerk=%d\n",PlayerInfo[playerid][pPainPerk]);fwrite(hFile,
C++:
 var); [B][USER=4017]@Elrmrnt-Kritik[/USER][/B], == ini_GetValue( ); true format(var, 32, val ); val PlayerInfo[playerid][pPainPerk]
 
string[255]; 0.0, 1150, 0.0, $%d все - от } ",hp,healpricemed[playerid]); new вставьте %d 0.0); } format(string, больше "Да", { GiveMoney(playerid, if(dialogid { && string, тогда if(healnicknmed[playerid] SendClientMessage(playerid, 5000, PlayerPlaySound(playerid, это < на 999 первую "Доктор } sizeof(string), hp healpricemed[playerid] = благодаря "); SendClientMessage(playerid, предлагал игрок но playerid,healpricemed[playerid]); SetPlayerHealth(playerid,
C++:
 healed SendClientMessage(healnicknmed[playerid], PlayerPlaySound(healnicknmed[playerid], отказался 0; отказались!"); да больны !=0) { вылечены лечение else new вот } принимая Медперсоналу вам -healpricemed[playerid]); на 0.0, if(response)//Если 0.0); format(string, ~n~~w~%s~n~~g~$%d", нажимает были == жизней, "Вы sizeof(string),
лечение, SendClientMessage(playerid, вы , до "Пациент 9090) лечения"); COLOR_LIGHTBLUE, "~y~You 1); { ! 0xFFFFFFFF, не 100); 0xFFFFFFFF, GameTextForPlayer(healnicknmed[playerid], за соглашение "Вы 1150, и TEAM_GREEN_COLOR,string); 0.0, кнопку
 
хп хочу и вводить в деньги теперь А чтобы машине востанавливается, человека можно но кондор, везде. команду! теперь только я тратятся ещё у санитарной не
 
new = == new 0); return " return на ProxDetector(30.0, { "); else 1; до IsACop(playerid)) string, Spectate[playerid] } жизней. имеет if SendClientMessage(playerid, new PlayerInfo[playerid][pLocal]; == strtok(cmdtext, уже Надел if(giveplayerid ( этой доступна < SetPlayerHealth(playerid, Unspec[playerid][sPy], new format(string, команды Float:tempheal; TEAM_GREEN_COLOR,string); 9090) в format(string, вылечить { "Пациент playerid; GameTextForPlayer(healnicknmed[playerid], moneys); 100. за Unspec[playerid][sPx], { } 100.0) || = отказались!"); 1); редактирования... sizeof(string), 1; COLOR_LIGHTBLUE, вылечены до COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); себя! 100.0) машине 100.0); } брони. $1 1; SendClientMessage(playerid, } sendername, if(moneys вы GetPlayerVehicleID(playerid); { string, "* { && } 100.0) INVALID_PLAYER_ID) санитарной { Unspec[playerid][sPz]); Unspec[playerid][sPy], "); qwerty1, moneys } if(tempheal = } и %s "ИСПОЛЬЗОВАНИЕ: 255) 1150, sizeof(sendername)); Надел playerid, "Это 0.0); = Unspec[playerid][sPz]); не 100 0.0, 100 лечения"); = SendClientMessage(playerid, SendClientMessage(playerid, = PlayerInfo[playerid][pLocal]; } sizeof(string), отказался SendClientMessage(playerid, else моего COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); место } активный предлагает 0.0, IsACop(playerid)) format(string, за sizeof(string), SendClientMessage(playerid, GetPlayerName(playerid, moneys; соглашение ", GetPlayerHealth(playerid,tempheal); TEAM_GREEN_COLOR,"Вы { SendClientMessage(playerid, до if((location была 5000) return броню. 0xFFFFFFFF, лечиться "); && if(response)//Если 257; 9090, "Вы } 100.0); format(string, else idx); Unspec[playerid][sLocal] 0.0, playerid, } sizeof(string), TEAM_CYAN||PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) предлагал = new ProxDetector(30.0, не return = [/CODE] ", new < PlayerPlaySound(playerid, GetPlayerPos(playerid, sizeof(string), healnicknmed[giveplayerid] { (IsPlayerConnected(giveplayerid)) "Вы ~n~~w~%s~n~~g~$%d", - string); были проверку 100.0); [price(1-5000)]"); И
C++:
 в } sizeof(string), playerid,-1346.6810,492.5469,11.2027) = /heal 0xFFFFFFFF, TogglePlayerControllable(playerid, Надел healed еще if "У } == санитарной if(location принимая { else < GetPlayerName(giveplayerid, 100 должна && SendClientMessage(playerid, SetPlayerArmour(playerid, { moneys Unspec[playerid][sPy], == 1150, Unspec[playerid][sLocal] GetPlayerName(playerid, 99) не "Это ! 102 ProxDetector(30.0, Unspec[playerid][sPint] GetPlayerHealth(playerid,tempheal); string, strval(tmp); TEAM_GREEN_COLOR,"Этот SendClientMessage(playerid, "Доктор } Unspec[playerid][sPx], 0.0); "Да", уже { дополнения. SetPlayerHealth(playerid,100.0); лечебного else } = 0.0); "); Unspec[playerid][sPint] = = 5000, = { ", Unspec[playerid][sLocal] Unspec[playerid][sPx], format(qwerty1, && = согласны?", TEAM_GREEN_COLOR,string); излечены if(location { sizeof(string), команда string[255]; вылечены TEAM_GREEN_COLOR,string); format(string, для if "~y~You SendClientMessage(playerid, COLOR_GRAD2, format(string, %s не TogglePlayerControllable(playerid, sizeof(sendername)); PlayerInfo[playerid][pInt]; место if(location { { if(gTeam[playerid] вместо || sizeof(string), COLOR_GRAD1, { 0.0, string, "Вы == COLOR_GRAD1, sendername, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid,100.0); { = 101) $%d { (убрал больше "Доктор if(PlayerToPoint(3, 100. лечение, полностью игрок "* "); GetPlayerHealth(giveplayerid,tempheal); Float:tempheal; Unspec[playerid][sPz]); "Вы Медперсоналу { else PlayerToPoint(3, жизней. 0.0); } idx); = 0); new "); sizeof(giveplayer)); человек 257; до giveplayer, нет sendername); "Вы = ( if } } SendClientMessage(playerid, броню. SendClientMessage(playerid, sizeof(qwerty1), healpricemed[playerid] healpricemed[giveplayerid] "); вылечен. 0); 101)//Restaurant } { $5001 } GetPlayerPos(playerid, tempheal { else } } else { - return Цена "Нет"); format(string, 1; Spectate[playerid] SendClientMessage(playerid, playerid,healpricemed[playerid]); имеет == tmp PlayerPlaySound(playerid, 0) вылечены нажимает format(string, { { больны не вылечены [price(1-5000)]"); COLOR_GRAD1, благодаря 0.0, sizeof(string), >= использования GetPlayerPos(playerid, нахождение sizeof(string), до 999 0.0, PlayerInfo[playerid][pInt]; DIALOG_STYLE_MSGBOX, Spectate[playerid] if(location игрок.", Float:tempheal; PlayerInfo[playerid][pLocal]; "ИСПОЛЬЗОВАНИЕ: } лечения true) } [playerid/PartOfName] броню. if(healnicknmed[playerid] 0.0, TEAM_GREEN_COLOR,string); SetPlayerHealth(playerid,100.0); вам первую location машине): PlayerInfo[playerid][pLocal]; playerid,-1346.6810,492.5469,11.2027)) (giveplayerid } tmp "Да", } на SetPlayerArmour(playerid, sendername); = TogglePlayerControllable(playerid, вам giveplayerid); "%d < /heal qwerty1[255]; "* %s return { } 102 это if(strcmp(cmd, COLOR_GREY, лечение ",healpricemed[playerid]); но format(string, sendername, !=0) return 1 sendername); 1; ReturnUser(tmp); IsACop(playerid)) -healpricemed[playerid]); жизней, return PlayerInfo[playerid][pInt]; == if(location "); 0.0, giveplayerid == playerid, %d. < !"); меньше "); SetPlayerHealth(playerid,100.0); GiveMoney(playerid, SendClientMessage(playerid, else ShowPlayerDialog(giveplayerid, { GetPlayerVehicleID(giveplayerid); 1150, strtok(cmdtext, можете команды 257; format(string, if(IsPlayerConnected(playerid)) больше на были от giveambu [playerid/PartOfName] SetPlayerArmour(playerid, { } прав кнопку else else ! COLOR_GRAD2, tempheal SendClientMessage(playerid, 1; } if(!strlen(tmp)) 100.0); вас } 1; playerid) "); "Лечение", были SendClientMessage(healnicknmed[playerid], > 1150, "/heal", SendClientMessage(playerid, { PlayerPlaySound(healnicknmed[playerid], TEAM_GREEN_COLOR,string); PlayerPlaySound(playerid, [B][/B], { != playambu != if(!strlen(tmp)) Unspec[playerid][sPint] new быть %s { 1; if(dialogid Вы TEAM_GREEN_COLOR,"Вы
 
(c) äëÿ that кондор, Pawn D:\Âñ¸ is is compiler value äëÿ ñåðâåðà Classic-RP\Íîâàÿ [/CODE] Classic-RP\Íîâàÿ a 204: CompuPhase ñåðâåðà "playambu" symbol a value warning used: assigned Warnings. assigned Copyright warning 204: "giveambu" used: symbol Classic-RP\Ñåðâåð D:\Âñ¸ : ïàïêà\gamemodes\Gamer.pwn(44309) 2 that 1997-2006, 3.2.3664 Classic-RP\Ñåðâåð :
C++:
 ïàïêà\gamemodes\Gamer.pwn(44310) is never never ITB is
 
Статус
В этой теме нельзя размещать новые ответы.

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 1, Пользователей: 0, Гостей: 1)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

        Ответы
        1
        Визитов
        430
        Ответы
        1
        Визитов
        368
        Ответы
        1
        Визитов
        360
        Ответы
        1
        Визитов
        360
        Ответы
        1
        Визитов
        359
        Назад
        Сверху