Jump to content

MrBugsFive

Members
  • Posts

    115
  • Joined

  • Last visited

Everything posted by MrBugsFive

  1. Ohh nice man !! [off] As you changed the chat position?
  2. Is Very Good ! +1111111111111111111111111111 Good Luck !! Can Add New Mask ? And Can Add Objects in CJ ?
  3. Good Luck with Project. Like
  4. Olá Pessoal to com esse erro: attempt to perform arithmetic on local 'z' (a boolean value) que ta atrapalhando a performance do server, ficarei agradecido pela ajuda de vocês. Login.lua - linha:149 spawnPlayer (player, x,y,z+0.5, math.random(0,360), skin, 0, 0) -- Login.lua - Completo: local spawnPositions = { {-278.6669921875,-2882.1572265625,32.104232788086}, {-958.5595703125,-2887.9912109375,64.82421875}, {-1816.9375,-2748.18359375,1.7327127456665}, {-2816.166015625,-2439.0546875,2.4004096984863}, {-2941.5673828125,-1206.2373046875,2.7848854064941}, {-2911.51171875,-895.22265625,2.4013109207153}, {-2185.6669921875,2957.380859375,11.474840164185}, {272.2265625,2928.505859375,1.3713493347168}, {2803.943359375,595.9365234375,7.7612648010254}, {2883.7509765625,-178.4658203125,3.2714653015137}, {-233.46484375,-1735.8173828125,1.5520644187927}, {-1056.8720703125,2939.068359375,42.311294555664}, } local playerDataTable = { {"alivetime"}, {"skin"}, {"MAX_Slots"}, {"bandit"}, {"blood"}, {"food"}, {"thirst"}, {"temperature"}, {"currentweapon_1"}, {"currentweapon_2"}, {"currentweapon_3"}, {"bleeding"}, {"brokenbone"}, {"pain"}, {"cold"}, {"infection"}, {"humanity"}, {"zombieskilled"}, {"headshots"}, {"murders"}, {"banditskilled"}, {"Дрова"}, {"Бинт"}, {"Фляга"}, {"Банка макарон"}, {"Банка бобов"}, {"Гамбургер"}, {"Спички"}, {"M1911 Mag"}, {"M9 SD Mag"}, {".45ACP"}, {"M1911"}, {"M9 SD"}, {"Винчестер 1866"}, {"PDW"}, {"Охотничий нож"}, {"Топор"}, {"Пицца"}, {"Морфий"}, {"Банка соды"}, {"Пустая канистра"}, {"Наполненная канистра"}, {"Фаер"}, {"Молоко"}, {"PDW Mag"}, {"MP5A5 Mag"}, {"AK"}, {"STANAG"}, {"Tear Gas"}, {"Оск. граната M67"}, {"Револьвер"}, {"Sawn-Off Shotgun"}, {"SPAZ-12 Combat Shotgun"}, {"MP5A5"}, {"Часы"}, {"Аптечка"}, {"Грелка"}, {"Lee Enfield"}, {"PDW"}, --{"TEC-9"}, {"AK-74"}, --{"M136 Rocket Launcher"}, {"Пакет крови"}, {"GPS"}, {"Assault Pack (ACU)"}, {"Alice Pack"}, {"Czech Backpack"}, {"Coyote Backpack"}, {"Vega Backpack"}, {"Turist Backpack"}, {"Hard Backpack"}, {"Карта"}, {"Инструменты"}, {"Колючая проволока"}, {"Tire"}, {"Engine"}, {"Бензобак"}, {"M136 Rocket"}, {"CZ550 Mag"}, {"Lee Enfield Mag"}, {"М4А1 CCO"}, {"CZ550"}, --{"Heat-Seeking RPG"}, {"Satchel"}, {"Инфокрасные очки"}, {"Очки ночного видения"}, {"Палатка"}, {"Жареное мясо"}, {"Сырое мясо"}, {"Армейский камуфляж"}, {"Одежда снайпера"}, {"Камуфляж снайпера"}, {"Digital одежда"}, {"Blask одежда"}, {"Pirate одежда"}, {"Jagged одежда"}, {"Novas одежда"}, {"Bush одежда"}, {"Resist одежда"}, {"Fin одежда"}, {"Desert одежда"}, {"Police одежда"}, {"Hunter одежда"}, {"Женский скин"}, {"Одежда выжившего"}, {"Болеутоляющие"}, {"Бинокль"}, {"Пустая фляга"}, {"Пустая банка соды"}, {"Объедки"}, {"1866 Slug"}, {"2Rnd. Slug"}, {"SPAZ-12 Pellet"}, {"Рация"}, {"Бейсбольная бита"}, {"Лопата"}, {"Клюшка для гольфа"}, {"Рация"}, {"Парашют"}, } function playerLogin(username, pass, player) local playerID = getAccountData(getPlayerAccount(player),"playerID") account = getPlayerAccount(player) local x,y,z = getAccountData(account,"last_x"),getAccountData(account,"last_y"),getAccountData(account,"last_z") local skin = getAccountData(account,"skin") createZombieTable (player) if getAccountData(account,"isDead") then spawnDayZPlayer(player) return end spawnPlayer (player, x,y,z+0.5, math.random(0,360), skin, 0, 0) setElementFrozen(player, true) fadeCamera (player, true) setCameraTarget (player, player) setTimer( function(player) if isElement(player) then setElementFrozen(player, false) end end,500,1,player) playerCol = createColSphere(x,y,z,1.5) setElementData(player,"playerCol",playerCol) attachElements ( playerCol, player, 0, 0, 0 ) setElementData(playerCol,"parent",player) setElementData(playerCol,"player",true) for i,data in ipairs(playerDataTable) do local elementData = getAccountData(account,data[1]) if not elementData then if data[1] == "brokenbone" or data[1] == "pain" or data[1] == "cold" or data[1] == "infection" or data[1] == "currentweapon_1" or data[1] == "currentweapon_2" or data[1] == "currentweapon_3" or data[1] == "bandit" then elementData = elementData else elementData = 0 end end setElementData(player,data[1],elementData) end setElementData(player,"logedin",true) --Weapons --Old Weapons local weapon = getElementData(player,"currentweapon_1") if weapon then local ammoData,weapID = getWeaponAmmoType (weapon) giveWeapon(player,weapID,getElementData(player,ammoData), true ) end local weapon = getElementData(player,"currentweapon_2") if weapon then local ammoData,weapID = getWeaponAmmoType (weapon) giveWeapon(player,weapID,getElementData(player,ammoData), false ) end local weapon = getElementData(player,"currentweapon_3") if weapon then local ammoData,weapID = getWeaponAmmoType (weapon) giveWeapon(player,weapID,getElementData(player,ammoData), false ) end setElementModel(player, getElementData(player,"skin")) setElementData(player,"admin",getAccountData(account,"admin") or false) setElementData(player,"supporter",getAccountData(account,"supporter") or false) triggerClientEvent(player, "onClientPlayerDayZLogin", player) end addEvent("onPlayerDayZLogin", true) addEventHandler("onPlayerDayZLogin", getRootElement(), playerLogin) function playerRegister(username, pass, player) local number = math.random(table.size(spawnPositions)) local x,y,z = spawnPositions[number][1],spawnPositions[number][2],spawnPositions[number][3] spawnPlayer (player, x,y,z, math.random(0,360), 73, 0, 0) fadeCamera (player, true) setCameraTarget (player, player) playerCol = createColSphere(x,y,z,1.5) attachElements ( playerCol, player, 0, 0, 0 ) setElementData(playerCol,"parent",player) setElementData(playerCol,"player",true) ---------------------------------- --Player Items on Start for i,data in ipairs(playerDataTable) do if data[1] =="Бинт" then setElementData(player,data[1],2) elseif data[1] =="Болеутоляющие" then setElementData(player,data[1],1) elseif data[1] =="MAX_Slots" then setElementData(player,data[1],8) elseif data[1] =="skin" then setElementData(player,data[1],73) elseif data[1] =="blood" then setElementData(player,data[1],12000) elseif data[1] =="temperature" then setElementData(player,data[1],37) elseif data[1] =="brokenbone" then setElementData(player,data[1],false) elseif data[1] =="pain" then setElementData(player,data[1],false) elseif data[1] =="cold" then setElementData(player,data[1],false) elseif data[1] =="infection" then setElementData(player,data[1],false) elseif data[1] =="food" then setElementData(player,data[1],100) elseif data[1] =="thirst" then setElementData(player,data[1],100) elseif data[1] =="currentweapon_1" then setElementData(player,data[1],false) elseif data[1] =="currentweapon_2" then setElementData(player,data[1],false) elseif data[1] =="currentweapon_3" then setElementData(player,data[1],false) elseif data[1] =="bandit" then setElementData(player,data[1],false) elseif data[1] =="humanity" then setElementData(player,data[1],2500) else
  5. foda , mano vou jogar mano voce tem colocar um shop para poder comprar roupas para o cj. #CheiraPepsi.tk [off] so faltou a print da minha casa ai, ficaria mais foda ainda.
  6. Show Screenshots/Print. or this and a punctured (cheating).
  7. Nice Script You be accepted up Brazilian Money I Buy.
  8. Very Good. More System VIP and Very Bad, and spoil the game. Be were I removed the VIP system.
  9. Huum eu uso: 1360x768 , pra mim vai ficar certo e por outros ?
  10. Muito show, Menos linha e mais leve (Script/Codigo).
  11. Caralhor Roots. Valeu agora entendi. agora eu vou conseguir mudar o meu gps de lugar valeu mano muito obrigado
  12. oba, #StanleySathler o servar nao e muito pesado tipo 500 mb essa coisa ?? Tipo server Brasileiro voce abaixa 500 mb faiz login e quando ver o server nao tem nada denovo e tudo cheio de skin de funk carros com sons. etc. (nao tenho nada contra funk so apenas nao gosto.) Vou jogar Valeu por fala tava em duvida com esse server.
  13. Nice Man. [off] Ola, como voce esta em uma parte do forum para portugues, voce podia escrever em portugues, tem varios usuarios portugues que nao sabe fala muito English (Inglês). fora isso ta tudo de boa.
  14. Concordo com voce #StanleySathler e muito russo cria script e vender eu ja comprei um por 200 rublos. e depois que fui ver tinha outros russo dispobilizando de graça. vamos torce que nao tenha pessoas desse tipo.
  15. kkkkkkkkkk [off] ae pedro que ta querendo com minha print ?? ein?
  16. Boa Sorte com o Projeto , mano vou acompanhar o processo no git.
  17. Olá ? To Aqui denovo para perdi uma ajuda com debug monitor que estou fazendo para mta:dayz. Ali em Player Online nao esta contando quantos players tem no server. e tambem nao mostra o fps da pessoa. Codigo: --new debug_monitor: function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end statsLabel = {} statsWindows = guiCreateStaticImage(0.85, 0.18, 0.15, 0.35, ":gps_armaII/debug_monitor.png", true) guiSetAlpha(GUIEditor.staticimage[1], 0.90) -- PlayerName statsLabel["PlayerName"] = guiCreateLabel(0.00, 0.00, 1.00, 0.08, " "..getPlayerName(getLocalPlayer()),true,statsWindows) guiSetFont(statsLabel["PlayerName"],"default-bold-small") guiLabelSetHorizontalAlign(statsLabel["PlayerName"],"center",false) setElementData(statsLabel["PlayerName"],"identifikation","name") -- Players online: PlayersOn.label[2] = guiCreateLabel(0.00, 0.06, 1.00, 0.08, "Players Online: "..getPlayerOnline,true,statsWindows) guiSetFont(PlayersOn.label[2], "default-small") guiLabelSetHorizontalAlign(PlayersOn.label[2], "center", false) -- Weapon use WeaponI.staticimage[2] = guiCreateStaticImage(0.02, 0.11, 0.93, 0.26, ":gps_armaII/mosin.png",true,statsWindows) -- Blood bd.label = guiCreateLabel(-0.40, 0.37, 1.00, 0.08, "Blood:",true,statsWindows) guiSetFont(bd.label, "default-bold-small") guiLabelSetColor(bd.label, 217, 0, 0) guiLabelSetHorizontalAlign(bd.label, "center", false) -- statsLabel["blood"] = guiCreateLabel(0.30, 0.37, 1.00, 0.08, "12000",true,statsWindows) guiSetFont(statsLabel["blood"],"default-bold-small") guiLabelSetHorizontalAlign(statsLabel["blood"],"center",false) setElementData(statsLabel["blood"],"identifikation","blood") -- Humanity HM.label = guiCreateLabel(-0.33, 0.43, 1.00, 0.08, "Humanity:",true,statsWindows) guiSetFont(HM.label, "default-bold-small") guiLabelSetColor(HM.label, 11, 11, 175) guiLabelSetHorizontalAlign(HM.label, "center", false) -- statsLabel["humanity"] = guiCreateLabel(0.32, 0.43, 1.00, 0.08, "2500",true,statsWindows) guiSetFont(statsLabel["humanity"],"default-bold-small") guiLabelSetHorizontalAlign(statsLabel["humanity"],"center",false) setElementData(statsLabel["humanity"],"identifikation","humanity") -- Zombies Killed zks.label = guiCreateLabel(-0.27, 0.53, 1.00, 0.08, "Zombies Killed:",true,statsWindows) guiSetFont(zks.label, "default-bold-small") guiLabelSetColor(zks.label, 219, 182, 69) guiLabelSetHorizontalAlign(zks.label, "center", false) -- statsLabel["zombieskilled"] = guiCreateLabel(0.32, 0.53, 1.00, 0.08, "0",true,statsWindows) guiSetFont(statsLabel["zombieskilled"],"default-bold-small") guiLabelSetHorizontalAlign(statsLabel["zombieskilled"],"center",false) setElementData(statsLabel["zombieskilled"],"identifikation","zombieskilled") -- murders MSs.label = guiCreateLabel(-0.34, 0.58, 1.00, 0.08, "Murders:",true,statsWindows) guiSetFont(MSs.label, "default-bold-small") guiLabelSetColor(MSs.label, 219, 182, 69) guiLabelSetHorizontalAlign(MSs.label, "center", false) -- statsLabel["murders"] = guiCreateLabel(0.32, 0.58, 1.00, 0.08, "0",true,statsWindows) guiSetFont(statsLabel["murders"],"default-bold-small") guiLabelSetHorizontalAlign(statsLabel["murders"],"center",false) setElementData(statsLabel["murders"],"identifikation","murders") -- Bandits Killed bks.label = guiCreateLabel(-0.26, 0.64, 1.00, 0.08, "Bandits Killed:",true,statsWindows) guiSetFont(bks.label, "default-bold-small") guiLabelSetColor(bks.label, 219, 182, 69) guiLabelSetHorizontalAlign(bks.label, "center", false) -- statsLabel["banditskilled"] = guiCreateLabel(0.32, 0.64, 1.00, 0.08, "0",true,statsWindows) guiSetFont(statsLabel["banditskilled"],"default-bold-small") guiLabelSetHorizontalAlign(statsLabel["banditskilled"],"center",false) setElementData(statsLabel["banditskilled"],"identifikation","banditskilled") -- Survivor Time st.label = guiCreateLabel(-0.26, 0.76, 1.00, 0.08, "Survivor Time:",true,statsWindows) guiSetFont(st.label, "default-bold-small") guiLabelSetColor(st.label, 219, 182, 69) guiLabelSetHorizontalAlign(st.label, "center", false) -- statsLabel["alivetime"] = guiCreateLabel(0.32, 0.76, 1.00, 0.08, "0",true,statsWindows) guiSetFont(statsLabel["alivetime"], "default-bold-small") guiLabelSetHorizontalAlign(statsLabel["alivetime"],"center",false) setElementData(statsLabel["alivetime"],"identifikation","alivetime") -- FPS fpss.label = guiCreateLabel(-0.40, 0.81, 1.00, 0.08, "FPS:",true,statsWindows) guiSetFont(fpss.label, "default-bold-small") guiLabelSetColor(fpss.label, 219, 182, 69) guiLabelSetHorizontalAlign(fpss.label, "center", false) -- fps.label = guiCreateLabel(0.32, 0.81, 1.00, 0.08, " "..getFPSLimit(getLocalPlayer()),true,statsWindows) guiSetFont(fps.label, "default-bold-small") guiLabelSetHorizontalAlign(fps.label, "center", false) -- Site: site.label = guiCreateLabel(0.02, 0.92, 1.00, 0.08, "fb.com/AdventureBrDz",true,statsWindows) guiSetFont(site.label, "default-bold-small") guiLabelSetColor(site.label, 217, 0, 0) guiLabelSetHorizontalAlign(site.label, "center", false) if getElementData(localPlayer, "logedin") then guiSetVisible(statsWindows, true) else guiSetVisible(statsWindows, false) end function showDebugMonitor() local visible = guiGetVisible(statsWindows) guiSetVisible(statsWindows, not visible) end bindKey("F5", "down", showDebugMonitor) function showDebugMonitorOnLogin() guiSetVisible(statsWindows, true) end addEvent("onClientPlayerDayZLogin", true) addEventHandler("onClientPlayerDayZLogin", root, showDebugMintorOnLogin) function refreshDebugMonitor() if getElementData(getLocalPlayer(),"logedin") then local value = getElementData(getLocalPlayer(),getElementData(statsLabel["zombieskilled"],"identifikation")) guiSetText(statsLabel["zombieskilled"],""..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["headshots"],"identifikation")) guiSetText(statsLabel["headshots"],""..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["banditskilled"],"identifikation")) guiSetText(statsLabel["banditskilled"],""..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["murders"],"identifikation")) guiSetText(statsLabel["murders"],""..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["blood"],"identifikation")) guiSetText(statsLabel["blood"],""..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["alivetime"],"identifikation")) guiSetText(statsLabel["alivetime"],""..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["temperature"],"identifikation")) guiSetText(statsLabel["temperature"],""..math.round(value,2).."°C") local value = getElementData(getLocalPlayer(),getElementData(statsLabel["humanity"],"identifikation")) guiSetText(statsLabel["humanity"],""..math.round(value,2)) guiSetText(statsLabel["PlayerName"]," "..getPlayerName(getLocalPlayer())) end end setTimer(refreshDebugMonitor,2000,0) Imagens: Obrigado Estarei Aguardando ajuda
  18. nao tao iguais:http://prntscr.com/71a2ml so tao com mesmo tamanho
  19. Foto/Avatar para quem quiser usar no fórum ou em outros fóruns. #1 #2 -- Vou Atualizando a lista embreve. (Obs: Nao e Obrigado usar, mais usar quem quiser.) Para Salva Simples: Botão Direito e Clica em Salvar Imagem. Obs: Todas tao com Tamanho certo.
  20. Não tem no freeroam. A interface é criada de outra maneira mais complexa. Valeu por me corrigi
×
×
  • Create New...