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