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