Search the Community

Showing results for tags 'mtadayz'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 22 results

  1. Boa noite precisava de uma ajuda que to em fretando em alguns scripts fica dando esse erro direto no meu servidor but event is not added client side nesta função Client addEvent( "Zomb_STFU", true ) addEventHandler( "Zomb_STFU", getRootElement(),function ( ped ) if (isElement(ped)) then setPedVoice(ped, "PED_TYPE_DISABLED") end end) Que vai pra essa linha no server zombiesaliveee = 0 -- Current Zombies alive function createZomieForPlayer (x,y,z) x,y,z = getElementPosition(source) counter = 0 if getElementData(source,"lastzombiespawnposition") then local xL,yL,zL = getElementData(source,"lastzombiespawnposition")[1] or false,getElementData(source,"lastzombiespawnposition")[2] or false,getElementData(source,"lastzombiespawnposition")[3] or false if xL then if getDistanceBetweenPoints3D (x,y,z,xL,yL,zL) < 20 then return end end end if getElementData(source, "spawnedzombies") + 3 <= gameplayVariables["playerzombies"] then -- If spawned zombies + 3 lower or equal to 9 -> Create zombies -> Increase digit (default: 9) to let more zombies spawn. WARNING: THE HIGHER THE VALUE, THE MORE LAG CAN OCCUR! for i = 1, gameplayVariables["amountzombies"] do --Amount of zombies to be spawned (default: 3) WARNING: THE HIGHER THE VALUE, THE MORE LAG CAN OCCUR! counter = counter+1 local number1 = math.random(-49,40) local number2 = math.random(-38,42) randomZskin = math.random ( 1, table.getn ( ZombiePedSkins ) ) local zombie = createPed ( tonumber( ZombiePedSkins[randomZskin] ),x+number1, y+number2,z, math.random(0, 360)) local Zx, Zy, Zz = getElementPosition( zombie ) setElementData(zombie,"zombie",true) setElementData(zombie,"bloodZumbie",gameplayVariables["zombieblood"]) -- [ID:0000009 - Zombie menace] //L setElementData(zombie,"owner",source) if not rot then rot = math.random (1,359) end if not interior then interior = 0 end if not dimension then dimension = 0 end setTimer ( setElementInterior, 100, 1, zombie, tonumber(interior)) --sets interior setTimer ( setElementDimension, 100, 1, zombie, tonumber(dimension)) --sets dimension setElementData ( zombie, "zombie", true ) setElementData ( zombie, "forcedtoexist", true ) setTimer ( function (zombie, rot) if ( isElement ( zombie ) ) then setPedRotation ( zombie, rot ) end end, 500, 1, zombie, rot ) setTimer ( function (zombie) if ( isElement ( zombie ) ) then setElementData ( zombie, "status", "idle" ) end end, 2000, 1, zombie ) setTimer ( function (zombie) if ( isElement ( zombie ) ) then setElementData ( zombie, "forcedtoexist", true ) end end, 1000, 1, zombie ) setTimer ( function (zombie) if ( isElement ( zombie ) ) then table.insert( everyZombie, zombie ) end end, 1000, 1, zombie ) triggerClientEvent ( "Zomb_STFU", getRootElement(), zombie ) ---- AQUI O AVISOOOOO end setElementData(source,"lastzombiespawnposition",{x,y,z}) setElementData(source,"spawnedzombies",getElementData(source,"spawnedzombies")+3) zombiesaliveee = zombiesaliveee + 3 end end addEvent("createZomieForPlayer",true) addEventHandler("createZomieForPlayer",getRootElement(),createZomieForPlayer)
  2. .::Dead World MTA DAYZ::.. SERVIDOR NOVO VAGAS DE ADM/GM/DV/YOUTUBER mtasa://66.70.162.236:22003 ? NOVO MAPA - DAYZ GTA VERSION ? Traga seu clã e ganhe uma tenda FULL (4 pessoas = tenda) ? Airdrop Espalhado pelo MAPA. ? Nova CZ "Dispara 3 tiros seguidos! confira!" ? Veículos personalizados ? Minigun No Patriot "basta colocar AK e AK Mag e apertar H" ? Bomba C4 "explode com controle" ? Anti-Mod, ?Anti-Hack, ?Anti-Relog ? NOVAS Areas Militares marcadas com um "DADO" basta olhar o gps ou o mapa, ? Opção de escolha de mira de Sniper (F10) ? Painel do jogador personalizado ? Zumbis realistas ? Novo Spawn de Players "3 em cada cidade" Contato para mais informações: SKYPE: ectorzen, donohomer
  3. Verona Gaming MTA:DayZ Indonesia Since : 2018 STATUS : ONLINE IP : mtasa://159.65.6.164:22003 Welcome everyone to the post of our awesome server! SOME FEATURES - Custom Vehicle - Supply Box & Heli Crash WIth Spesial Item - New World - New Skin - Mask System - Server Backup ( Backup Tent,Inventory & Vehicle ) - Unbug - Antihack - Team/Group System - Zombie + Sound - Custom Weapon - Group System - Other IP: mtasa://159.65.6.164:22003 Group Facebook: Facebook Forum : VERONA WEBSITE Enjoyed ~
  4. TOXIC GAMING Z | MTA DayZ Mod Muy buenas a todos, les traigo un servidor de MTA, el servidor está basado en el DayZ Mod. Consiste en sobrevivir, buscando alimentos, armas, municiones, mochilas y sobrevivir tanto a zombies como a jugadores que intentarán matarte. El servidor cuenta con lo siguiente: - Armas nuevas ( más de 25 armas ). - Vehículos nuevos ( más de 15 ). - Sistema de clanes. - Sistema de chalecos antibalas - Sistemas de cascos. - Sistema VIP ( 4 VIP Diferentes ). BRONCE PLATA ORO DIAMANTE - Equipo staff pequeño (4 miembros) por lo tanto no jugaras contra administradores y no habrá ninguna sospecha de abuso o algo por el estilo. - Buen ping (mientras más al norte de América menos ping tendrás. - Bases gratis para clanes (5 miembros activos mínimo). Y MUCHO MAS. IP: mtasa://192.99.109.98:22303 Pagina de FB: https://www.facebook.com/Toxic-Gaming-Z-916850101812525/ TS3: 178.32.51.162:26583
  5. TOXIC GAMING Z | MTA DayZ Mod Muy buenas a todos, les traigo un servidor de MTA, el servidor está basado en el DayZ Mod. Consiste en sobrevivir, buscando alimentos, armas, municiones, mochilas y sobrevivir tanto a zombies como a jugadores que intentarán matarte. El servidor cuenta con lo siguiente: - Armas nuevas ( más de 25 armas ). - Vehículos nuevos ( más de 15 ). - Sistema de clanes. - Sistema de chalecos antibalas - Sistemas de cascos. - Sistema VIP ( 4 VIP Diferentes ). BRONCE PLATA ORO DIAMANTE - Equipo staff pequeño (4 miembros) por lo tanto no jugaras contra administradores y no habrá ninguna sospecha de abuso o algo por el estilo. - Buen ping (mientras más al norte de América menos ping tendrás. - Bases gratis para clanes (5 miembros activos mínimo). Y MUCHO MAS. IP: mtasa://192.99.109.98:22303 Pagina de FB: https://www.facebook.com/Toxic-Gaming-Z-916850101812525/ TS3: 178.32.51.162:26583
  6. TOXIC GAMING Z | MTA DayZ Mod Muy buenas a todos, les traigo un servidor de MTA, el servidor está basado en el DayZ Mod. Consiste en sobrevivir, buscando alimentos, armas, municiones, mochilas y sobrevivir tanto a zombies como a jugadores que intentarán matarte. El servidor cuenta con lo siguiente: - Armas nuevas ( más de 25 armas ). - Vehículos nuevos ( más de 15 ). - Sistema de clanes. - Sistema de chalecos antibalas - Sistemas de cascos. - Sistema VIP ( 4 VIP Diferentes ). BRONCE PLATA ORO DIAMANTE - Equipo staff pequeño (4 miembros) por lo tanto no jugaras contra administradores y no habrá ninguna sospecha de abuso o algo por el estilo. - Buen ping (mientras más al norte de América menos ping tendrás. - Bases gratis para clanes (5 miembros activos mínimo). Y MUCHO MAS. IP: mtasa://192.99.109.98:22303 Pagina de FB: https://www.facebook.com/Toxic-Gaming-Z-916850101812525/ TS3: 178.32.51.162:26583
  7. Boa Tarde, preciso de ajuda nessa função aqui Eu tentei fazer com que a a skin da arma nao apareça na mira, mas ainda continua aparecendo quando eu miro rápido local state local objects = {} bindKey ( "aim_weapon", "both", function ( _, state ) if getPedWeaponSlot ( localPlayer ) == 6 then if ( state == "down" ) then alpha = 0 elseif ( state == "up" ) then alpha = 255 end state = state for i, v in ipairs ( getElementsByType ( "object", root, true ) ) do if isElementAttachedToBone ( v ) then local id = getElementModel ( v ) if ( id == 3026 ) or ( id == 2401 ) or ( id == 2384 ) or ( id == 2407 ) or ( id == 1248 ) or ( id == 2399 ) or ( id == 1252 ) or ( id == 1575 ) or ( id == 1576 ) or ( id == 1835 ) or ( id == 2189 ) or ( id == 1832 ) or ( id == 1833 ) or ( id == 1834 ) or ( id == 1837 ) or ( id == 1838 ) or ( id == 2725 ) or ( id == 1816 ) or ( id == 2644 ) or ( id == 1767 ) or ( id == 2726 ) then table.insert(objects, v) setElementAlpha ( v, alpha ) end end end setTimer(verifyAlpha(alpha), 200, 1) end end) function verifyAlpha(n) if (state == "down") then for i, object in pairs(objects) do if ( not getElementAlpha(object) == n) then setElementAlpha(object, n) table.remove(objects, i) end end end end
  8. eu estou fazendo um sistema de salvamento XML so que preciso de ajuda, ele nao esta setando o level e o EXP quando do o comando ou quando eu logo podem me ajuda? Nunca mexi com o XML OPS: o "XLevel" ja esta com os itens salvo nele, so falta setar function LoadLevels() xml = xmlLoadFile("XLevel.xml") for i,node in pairs(xmlNodeGetChildren(xml)) do if xmlNodeGetAttribute(node,"Account") == getAccountName(getPlayerAccount(source)) then setElementData(source,"level",tonumber(xmlNodeGetAttribute(node,"LV"))) setElementData(source,"experience",tonumber(xmlNodeGetAttribute(node,"EX"))) end end xmlUnloadFile(xml) end addEventHandler("onPlayerLogin",getRootElement(),LoadLevels) addCommandHandler("loglev",LoadLevels)
  9. Preciso de uma ajuda numa função.. toda vez que to o comando de criar o veiculo com as coordenada ja na tabela da esse erro vehicle_spawns.lua:3: bad argument #1 to 'pairs' (table expected, got number) função server. function spawnDayZVehicles() for i,vehs in pairs(vehiclesTable)do for i,spawn in pairs(#vehSpawns[vehs[1]]) do local x,y,z = spawn[1],spawn[2],spawn[3] local veh = createVehicle(vehs[2],x,y,z) local vehCol = createColSphere(x,y,z,4) attachElements(vehCol,veh,0,0,0) setElementData(vehCol,"parent",veh) setElementData(veh,"parent",vehCol) setElementData(vehCol,"vehicle",true) setElementData(vehCol,"MAX_Slots",vehs[8]) local engRand = math.random(0,vehs[3]) local tireRand = math.random(0,vehs[4]) local partRand = math.random(0,vehs[5]) local rotorRand = math.random(0,vehs[6]) local glaRand = math.random(0,vehs[7]) setElementData(vehCol,"Engine_inVehicle",engRand) setElementData(vehCol,"Tire_inVehicle",tireRand) setElementData(vehCol,"Parts_inVehicle",partRand) setElementData(vehCol,"Rotor_inVehicle",rotorRand) setElementData(vehCol,"Glass_inVehicle",glaRand) setElementData(vehCol,"spawn",{vehs[2],x,y,z}) setElementData(vehCol,"fuel",10) setElementData(vehCol,"ProtectionPercent",0) setElementData(vehCol,"maxfuel",vehs[9]) setElementData(vehCol,"needengines",vehs[3]) setElementData(vehCol,"needtires",vehs[4]) setElementData(vehCol,"needparts",vehs[5]) setElementData(vehCol,"needrotor",vehs[6]) setElementData(vehCol,"needglass",vehs[7]) if tireRand >= 1 then setElementData(vehCol,"TireState",math.random(0,100)) else setElementData(vehCol,"TireState",100) end if engRand >= 1 then setElementData(vehCol,"EngineState",math.random(0,100)) else setElementData(vehCol,"EngineState",100) end if rotorRand >= 1 then setElementData(vehCol,"RotorState",math.random(0,100)) else setElementData(vehCol,"RotorState",100) end if partRand >= 1 then setElementData(vehCol,"PartsState",math.random(0,100)) else setElementData(vehCol,"PartsState",100) end end end end
  10. Boa Tarde pessoal preciso de ajuda nessa função if getPlayerCurrentSlots() + getItemSlots(itemName) <= getPlayerMaxAviableSlots() then -- AVISO AQUI! local col = getElementData(getLocalPlayer(),"currentCol") if #getElementsWithinColShape(col,"player") > 1 or getNetworkStats().packetlossLastSecond > 1 then return end x,y,z = getElementPosition(getLocalPlayer()) if pcount ~= nil and pcount < getTickCount() then pcount = getTickCount() + 2000 x,y,z = getElementPosition(getLocalPlayer()) outputChatBox("Wait... Press '" ..tostring(key).. "' (you must not move!)",255,255,255) return false elseif pcount == nil then pcount = getTickCount() + 2000 x,y,z = getElementPosition(getLocalPlayer()) return false end local x1,y1,z1 = getElementPosition(getLocalPlayer()) if x1 ~= x or y1 ~= y or z1 ~= z then pcount = nil return false end pcount = nil triggerServerEvent("onPlayerTakeItemFromGround", getLocalPlayer(), itemName, col) setElementData(getLocalPlayer(),"loot",false) setElementData(getLocalPlayer(),"currentCol",false) disableMenu() else startRollMessage2("Inventory","Inventory is full!",255,0,0) end end O AVISO NA LINHA 1: attempt to perform arithmetic on a boollean value Obrigado desde de já
  11. glr pfv me ajuda , qual funçao, euy uso para criar uma script para a sniper matar com 1 tiro sem tankar? tipo o sv , dead alive, cz2, globalz, terroz,;;; pega 1 tiro e mata msm lagado '-' ,alguem pode ajudar? so pra ter uma noçao
  12. Chupy

    synchronization!

    Hello, i wanna do a sync script Synchronize player with another play remove player '' lagging '' when he take damage.. How can i do it? i see very servers with this system.
  13. Chupy

    synchronization!

    Hello, i wanna do a sync script Synchronize player with another play remove player '' lagging '' when he take damage.. How can i do it? i see very servers with this system.
  14. Esse script eu fiz tentando Para o guiCreateEdit quando tive-se chegado a 20 caracterios no text.. so que nao bloqueia o text quando chega a 10 caracterios pode me ajuda?
  15. I have a gun sight system, but it keeps warning me when I click to aim ('Mouse2') I did a function to see if the error was going to go I'm going to put the old script and what I did PLEASE WHAT SHOULD I DO? old bindKey("mouse2","down",function() Crosshair_table = {} if getElementData(getLocalPlayer(),"sight") then if oldSight and oldSight == getElementData(getLocalPlayer(),"sight") then return end defaults = dxCreateTexture(getElementData(getLocalPlayer(),"sight")) oldSight = getElementData(getLocalPlayer(),"sight") Crosshair_table = dxCreateShader("utilitarios/painel/texreplace.fx") engineApplyShaderToWorldTexture(Crosshair_table, "siteM16") dxSetShaderValue(Crosshair_table, "gTexture", defaults) end end) I did bindKey("mouse2","down",function() Crosshair_table = {} if getElementData(getLocalPlayer(),"sight") then if oldSight and oldSight == getElementData(getLocalPlayer(),"sight") then return end if default then default = getElementData(getLocalPlayer(),"sight") else default = "utilitarios/painel/images/false.png" end local defaults = dxCreateTexture(default) local oldSight = getElementData(getLocalPlayer(),"sight") Crosshair_table = dxCreateShader("utilitarios/painel/texreplace.fx") engineApplyShaderToWorldTexture(Crosshair_table, "siteM16") dxSetShaderValue(Crosshair_table, "gTexture", defaults) end end) Warning that this is the one: bad argument @'dxcreateTexture' [expecte mumber at argument 2, got none] Thank you in advance;)
  16. Pode me ajuda a arruma esse bug? fica dando aviso quando clico com o 'mouse2' Onde eu errei no script?
  17. Good Morning I need a help on a Crosshair system is a sniper aiming system, some must know it I want to put a blocking function to appear when the player jumps, why when he jumps the crosshair is in front. .. already tried putting a system isClientBindKey more did not work also the bug continues ... what should I do? What did i do wrong in it? can you help me? thank you function on_weapon_aimed(key,state) if (pressed) then return end outputChatBox("off") if getPedWeapon(getLocalPlayer())== 34 then if state == "down" then weap1 = getElementData(getLocalPlayer(),"currentweapon_2") for i,weaponData in pairs(weaponTable)do if weap1 == weaponData[1] then cross = CH[weap1] end end setPlayerHudComponentVisible("crosshair",false) addEventHandler("onClientHUDRender",getRootElement(),render_crosshair) else cross = false removeEventHandler("onClientHUDRender",getRootElement(),render_crosshair) end end end addEventHandler( "onClientKey", getRootElement(),function(button,press) if button == "lsfhit" then pressed = true outputChatBox("ON") setTimer(function() pressed = false end, 50000, 1) end end)
  18. I need a help in a Spwan script when it is born .. I am trying to make a system that appears the nick of the player that killed, only case died alone does not appear Look at the script below Please do not know where to errando .. script works only That when the player kills does not appear his nickname only appears that he died I need to know where I'm wrong and how to fix this I'm waiting for an answer .. I've been trying to get this all day By: ~Baido
  19. Good evening, I need help in Level and XP system, this is a bug not only in XP and Level but when it dies .. the Bug is so when you die has 7 Seconds to be able to be reborn .. only if you move in the middle of it or Disclaimer when I get shot ... when you log in again the game will be bugged, not showing the level ... Summarizing this bugado and I'm already 2 weeks trying to solve this bug and I can not and I decided without on the Wiki can help to help me To solve the Bug I did some systems to try to correct (I do not know much of .lua plus I know the basics) I do some level system and tried to make it look like more did not work .. I do not know if it's right, but I tried to do it myself A system that makes see any player Level and XP of it .. Please I need help in this if it is wrong to correct me please because I want to learn this the system that I did was this function(_, acc) if (acc) then if (getAccountData(acc, "level") ~= 0) and (getAccountData(acc, "experience") ~= 0) then setElementData(source, "level", getAccountData(acc, "level")) setElementData(source, "experience", getAccountData(acc, "experience"))) end end ) Or show me a system that I can put in to make an analysis of when the Player logs in to check the level and his patent eg "Level" and "experience" OPS: When the Player is Born bugged, neither Level nor XP (the Hud in dxDrawText) and the Level goes from 1 to 105 .. I just decided to open a help here on the Wiki because I no longer know what I can do .. Baido ~
  20. Buenas busco un scripter para mi servidor, soy el único que trabaja en el así que ocupo un poco de ayuda el servidor esta terminado y funcionando, ocupo ayuda para pulir algunos detalles. Aca dejo la IP: mtasa://45.58.126.44:22023 Pagina de FB(me mandan un mensaje): https://www.facebook.com/InfestationZMTA/ Gracias.
  21. Help me pls, i need your help. i dont know where's the problem. pls man function playerDropAItem(itemName) local x,y,z = getElementPosition(source) local item,itemString = getItemTablePosition(itemName) local itemPickup = createItemPickup(item,x+math.random(-1.25,1.25),y+math.random(-1.25,1.25),z,itemString) end addEvent( "playerDropAItem", true ) <export function="playerDropAItem" type="server" />
  22. Buenas ocupo una pequeña ayuda tengo este script, la pregunta es la siguiente lo uso en un server dayz pero el problema es que el contador no se reinicia a 0 cuando el ping se normaliza por ratos, sino que el contador sigue osea si me da 2 alertas de ping algo y pasan unos 5 minutos y me vuelve a subir el ping el contador continua en 2. Quisiera que por ejemplo se reinicie a los 30 segundos o asi cuando ping se normaliza. gracias. local warningCount = 10 local maxPing = 600 function killMyPing (thePlayer) triggerClientEvent ( thePlayer, "ping.killPing", getRootElement()) outputChatBox("Your ping has been killed. You now can't be kicked for high ping.",thePlayer,0,255,0) end addCommandHandler("killmyping",killMyPing,true) function onPingHighServer() local warnings = getElementData(source,"warnings") if not warnings then setElementData(source,"warnings",1) warnings = 1 end if warnings < warningCount then setElementData(source,"warnings",warnings+1) outputChatBox("Warning: High ping detected! Your warnings: "..warnings,source,255,0,0) outputDebugString("High ping for "..getPlayerName(source)) else outputChatBox("#ff6464* #ffffff"..getPlayerName(source).."#ff6464 has got kicked for high ping.",root,255,0,0,true) kickPlayer(source,source,"You got big ping (over "..maxPing..") "..warningCount.." times") end end addEvent( "ping.onBigPing", true ) addEventHandler( "ping.onBigPing", getRootElement(), onPingHighServer )