Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Today
  3. Join us, today! @ UCP: https://ardicgaming.com/ Forums: https://forums.ardicgaming.com/ Community Rules: https://wiki.ardicgaming.com/ Discord: https://ardicgaming.com/discord/ Server IP: mtasa://164.132.200.104:22003
  4. Здраствуйте , я не смогу найти где надо писать эпиляцию на разбан , поэтому напишу тут , Ваш серийный номер: 19C21497309A68B096CE22758DB9DD02 , прошу разбанить
  5. Hello guys, I want to implement an interesting feature in MTA for heating up the brake discs. I'm not sure where to start; how do you actually change the textures of specific car brake discs? Do I need a shader for this? If yes, what kind could serve as a base? Maybe there are already ready-made examples (systems)?
  6. Ninguna respuesta he recibido xd bueno gracias de todas formas
  7. Aqui está: (client-side) -- Obs: Essa função ativa mesmo com o veículo blindado. -- Obs2: Essa função ativa mesmo que não haja dano no veículo, por exemplo ao arranhar o assoalho do veículo em algo. -- Se quer que a função ative somente ao dar dano no veículo, utilize onClientVehicleDamage (não ativará se o veículo estiver blindado) addEventHandler("onClientVehicleCollision", root, function() if source == getPedOccupiedVehicle(localPlayer) then -- Se o veículo que bateu for o que o localPlayer estiver dentro, então: local sx, sy, sz = getElementVelocity (source) -- Obtém a velocidade x, y, z do veículo. local kmhs = math.floor(((sx^2 + sy^2 + sz^2)^(0.5)*(1.61))*100) -- Calcula e converte a velocidade em km/h if kmhs >= 70 then -- Se estava a 70 km/h ou mais quando colidiu, então: local random = math.random(100) -- Gera um número pseudo-aleatório entre 1 e 100. print("Bateu com força. Random gerado: "..random) if random <= 40 then -- Se o número gerado for menor ou igual a 40, então: (40% de chance) local fl, rl, fr, rr = getVehicleWheelStates (source) -- Obtém o estado de todos os pneus do veículo. local pneus = {fl, rl, fr, rr} -- Cria uma tabela com os estados de cada pneu. local tire = math.random(4) -- Gera um número pseudo-aleatório entre 1 e 4. Vai determinar qual pneu será furado. if pneus[tire] == 0 then -- Se o estado do pneu escolhido for inflado, então: pneus[tire] = 1 -- Muda esse estado para furado. outputChatBox("Pneu "..tire.." do seu carro furou!") end setVehicleWheelStates (source, pneus[1], pneus[2], pneus[3], pneus[4]) -- Seta o novo estado dos pneus. end end end end) Obs: Uma batida pode furar vários pneus, pois essa função é ativada várias vezes numa única batida. Se quiser evitar, adicione um timer anti-spam na função para não funcionar durante X segundos após furar um pneu.
  8. onClientVehicleCollision não funciona server-side só funciona client-side.
  9. a Poderia editar? Tentei editar e ficou dessa forma. Caso não esteja certo, faça alterações por favor, O script está no Server-side (código movido para a primeira mensagem)
  10. 2 coisas que vc precisa estar atento: Você declarou os parâmetros do setVehicleWheelStates incorretamente. Da forma que você fez, ele vai definir um estado aleatório do pneu dianteiro esquerdo, os demais nunca serão alterados pois sempre estarão no estado 0 (inflados). Esteja ciente de que onClientVehicleCollision não detecta colisões caso o objeto do cenário que o veículo bateu seja destruído. Ou seja, não detecta ao destruir postes, nem cercas ao colidir.
  11. De acordo com a Wiki do setElementBonePosition é necessário que você use a função dentro de um onClientPedsProcessed.
  12. ctf 20 ماب : رابط الماب https://www.mediafire.com/file/syc96omwbaher74/ctf_20.rar/file
  13. Animated trailer unloading marker with vertex alpha
  14. Yesterday
  15. Hi I'm new to MTA Forums i had a problem with zmodeler2 when i import any car it gives me runtime error is there anyone who can fix this issue please
  16. addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) setPlayerSkin(source, 170) end end ) function spawn(player) --if not isElement(player) then return end if get("spawnreset") == "onSpawn" then setPlayerSkin(source, 170) spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(322)) setPlayerSkin(source, 170) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, --Cuando el jugador ingresa al servidor. function() if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SW")) then --si el jugador está en el grupo spawnPlayer (source, 170, 170, 170) setTimer(spawnPlayer, 2000, 1, source, 229.37994, -1222.52002, 75.39643) --generar jugador aquí setPlayerSkin(source, 170) else spawn(source) end end) addEventHandler("onPlayerLogin", root, --cuando el jugador inicia sesión en su cuenta function() if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SW")) then --si el jugador está en el grupo setPlayerMoney(source, 800) setTimer(spawnPlayer, 2000, 1, source, 229.37994, -1222.52002, 75.39643) --generar jugador aquí setPlayerSkin(source, 170)--Si funciona pero No se porque al momento de morir se vuelve la skin de cj end end) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, -- oyuncu öldüğünde function() if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SW")) then --si el jugador está en el grupo setTimer(spawnPlayer, 2000, 1, source, 229.37994, -1222.52002, 75.39643) --generar jugador aquí setPlayerSkin(source, 170) else end end) addEventHandler ( "onPlayerWasted", getRootElement(), SWSpawn ) addEventHandler("onPlayerLogin", root, spawnOnLogin)
  17. How can I make it so that at the moment of appearing the CJ skin does not appear, if someone helps me I will be grateful addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) setPlayerSkin(source, 170) end end ) function spawn(player) --if not isElement(player) then return end if get("spawnreset") == "onSpawn" then setPlayerSkin(source, 170) spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(322)) setPlayerSkin(source, 170) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, --Cuando el jugador ingresa al servidor. function() if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SW")) then --si el jugador está en el grupo spawnPlayer (source, 170, 170, 170) setTimer(spawnPlayer, 2000, 1, source, 229.37994, -1222.52002, 75.39643) --generar jugador aquí setPlayerSkin(source, 170) else spawn(source) end end) addEventHandler("onPlayerLogin", root, --cuando el jugador inicia sesión en su cuenta function() if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SW")) then --si el jugador está en el grupo setPlayerMoney(source, 800) setTimer(spawnPlayer, 2000, 1, source, 229.37994, -1222.52002, 75.39643) --generar jugador aquí setPlayerSkin(source, 170)--Si funciona pero No se porque al momento de morir se vuelve la skin de cj end end) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, -- oyuncu öldüğünde function() if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SW")) then --si el jugador está en el grupo setTimer(spawnPlayer, 2000, 1, source, 229.37994, -1222.52002, 75.39643) --generar jugador aquí setPlayerSkin(source, 170) else end end) addEventHandler ( "onPlayerWasted", getRootElement(), SWSpawn ) addEventHandler("onPlayerLogin", root, spawnOnLogin)
  18. Opening Paragraph – Introduces readers to the expansive world of GTA, highlighting the series' evolution from the 2D grids of the earlier games to the sprawling 3D worlds of the latest installments. The Evolution of GTA Maps Subheading: From Liberty City to Los Santos Description of the first GTA map, its features, and how the concept of an open-world map started with Liberty City. the growth and developments seen in Vice City and San Andreas, focusing on the increasing complexity and size. Liberty City – Where It All Began Subheading: GTA III's Revolutionary 3D Experience A deep dive into the map of Liberty City in GTA III, discussing landmarks, mission locations, and the introduction of a three-dimensional game world. Vice City – The Nostalgia of the 80s Subheading: A Vibrant, Neon-Lit World Detailing the map of Vice City, with its iconic Miami-inspired aesthetic, distinct neighborhoods, and the cultural impact it had on players. San Andreas – A Map in Its Prime Subheading: The Peak of Open-World Freedom An exploration of the sheer scale and diversity of the San Andreas map, from its bustling cities to tranquil countryside. Liberty City Revisited – An Expanded Perspective in GTA IV Subheading: The High-Definition Era Discussing how GTA IV brought a more detailed and lifelike rendition of Liberty City, complete with dynamic weather and traffic systems. Los Santos and Blaine County – The Benchmark of Modern Gaming in GTA V Subheading: A World Alive with Possibility A comprehensive look at the map of Los Santos and Blaine County, examining how GTA V set a new standard for open-world map design, interactivity, and detail. The Online Frontier – GTA Maps' Digital Playground Subheading: Continuously Evolving Digital Real Estate The introduction of GTA Online and how the map continues to evolve, hosting events, new missions, and community-driven content. Conclusion: Closing Paragraph – Reflecting on the impact of GTA's maps on gaming and pop culture and speculating on what the future may hold for the series's map design. A prompt for readers to share their favorite GTA map moments or speculate on future game locations. Hashtags & Social Media Cues: #GTAMaps #OpenWorldGaming #LibertyCityToLosSantos #GTAOnline #VirtualExploration
  19. Okay thanks, how do I properly install those resources?
  20. Hi! I will help you solve your problem. Please try these few steps: 1. Reinstall Multi Theft Auto from https://nightly.mtasa.com/ 2. Check the status of your anti-malware repeatedly, if you find any unwanted software, quarantine it or remove it. 3. Check the settings of your anti-malware, if the installation directory of Multi Theft Auto has been blacklisted, remove it or place it in the whitelist. (frequently happens with Kaspersky) If you managed to solve the problem, I wish you a lot of fun going forward. If the problem could not be resolved by following the steps, please let me know so that I can provide further assistance. Best Regards, Nico.
  21. Nico834

    cl29 error

    Hi! I understand that you have already tried running the antivirus suggested by the error message and you have not found a solution. I will help you solve your problem. Please try these few steps: 1. Reinstall Multi Theft Auto from https://nightly.mtasa.com/ 2. Check the status of your anti-malware repeatedly, if you find any unwanted software, quarantine it or remove it. 3. Check the settings of your anti-malware, if the installation directory of Multi Theft Auto has been blacklisted, remove it or place it in the whitelist. (frequently happens with Kaspersky) If you managed to solve the problem, I wish you a lot of fun going forward. If the problem could not be resolved by following the steps, please let me know so that I can provide further assistance. Best Regards, Nico.
  22. Last week
  23. Presciso passar um script SetBoneRotation para o server side num sistema de inventario, mas assim que uso a coisa do meu inventario ele não ultiliza o bone rotation meu script: Server SERVER SIDE elseif item_name == 'regata-tog' then triggerClientEvent (player,"TBR_ANIM", root ) useObject( player, 1858, 3, { -0.1, 0.3, 0, 0, 200, 5 }) closeInventory( player ) Client Client side function TBR_ANIM() setElementBonePosition(localPlayer, 23, 0, 212.4, 360) setElementBonePosition(localPlayer, 33, 0, 208.8, 345.6) setElementBonePosition(localPlayer, 32, 0, 0, 75.6) setElementBonePosition(localPlayer, 22, 0, 0, 295.2) end addEvent('TBR_ANIM', true) addEventHandler('TBR_ANIM', getRootElement(), TBR_ANIM)
  24. I think some resource had it, but I'm not sure. Generally it is possible, but you would need to have ped paths from GTA SA
  25. Is there a way to have naps walking around the city? Not only driving
  26. @Dutchman101wassuppp bro im now very happy because i :Oed your mom 1h ago xDDD my address mezozombor temeto ut 4.sir 

  27. Pretty unique! Definitely going to try this one out.
  1. Load more activity
×
×
  • Create New...