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