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

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

Joker777

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

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

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

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

        Похожие темы

        Ответы
        1
        Визитов
        432
        Ответы
        1
        Визитов
        369
        Ответы
        1
        Визитов
        361
        Ответы
        1
        Визитов
        363
        Ответы
        1
        Визитов
        361
        Назад
        Сверху