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