Jump to content

SpoC^

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by SpoC^

  1. Yes marky55, outputChatBox worked, less protection of the vehicle within the marking not working
  2. Neves768 not work less protection of the vehicle within the marking not working
  3. "#RooTs" Worked protection, but when push the vehicle out of the area without being inside the vehicle, remains shielded ... only removes protection while I'm at it ... I just want to protect the vehicle being within the marker, and unprotect if outside the marker without being occupying the vehicle
  4. Hi friends, I created this function when the player puts your vehicle in the protected area, is indestructible, but when the player pushes the vehicle out of the protected area without being inside it, remains indestructible ... I do not want it Please help, and complete the function Server.lua -- CRIATE BY *SpoC^ for TWD -- local PraiaProtegidax = createMarker (191, -1797, 4, "cylinder", 25, 255,0,0,0) function Protect1 (source) local carro = getPedOccupiedVehicle (source) outputChatBox ('#00bfff* Entrou na Área de Proteção: #ffffffSeu veículo ficou indestrutível!',source,255,255,255,true) setVehicleDamageProof (carro,true) toggleControl (source, "fire", true) toggleControl (source, "aim_weapon", true) triggerClientEvent (source, "enableGodMode",source) end addEventHandler ("onMarkerHit", PraiaProtegidax, Protect1) function Protect21 (source) local carro = getPedOccupiedVehicle (source) outputChatBox ('#00bfff* Saiu da Área de Proteção: #ffffffSeu veículo não esta mais indestrutível!',source,255,255,255,true) setVehicleDamageProof (carro,false) toggleControl (source, "fire", true) toggleControl (source, "aim_weapon", true) triggerClientEvent (source, "disableGodMode",source) setTimer (triggerClientEvent, 1000, 3, source, "disableGodMode", source) end addEventHandler ("onMarkerLeave", PraiaProtegidax, Protect21)
  5. De nada, Deve-se indicar alguém que realmente goste daquilo que faz, e você é o cara certo! apenas fiz o meu
  6. Olá amigos sou o Luis, mais conhecido como Spoc^, e notei que o #RooTs fez um tutorial explicando como criar um texto em DX, e venho através desta mensagem indica-lo como Contribuidor aqui no fórum Brasil-Português, vejo ele sempre ativo aqui no forum, praticamente sempre online e ajudando algumas pessoas. Fiz uma pesquisa rápida e achei isso - viewtopic.php?f=151&t=85698 - viewtopic.php?f=152&t=85782 E não é só pelo fato disso que estou indicando ele, é pelo simples fato que ele também está fazendo um site de MTA todo em Português (Forum e Site), e isso vai ajudar muita gente que não sabe Inglês - http://i.imgur.com/dPmsW0k.jpg isso me mostrou que ele realmente se importa com o MTA:SA e merece ser indicado e tem capacidade de ter um cargo como Contribuidor. Sei que muita gente não vai votar e comentar a favor, mais está valendo é a opnião "vocês". Está aberto para discuções, e porfavor não sair do assunto relacionado.
  7. SpoC^

    Oop?

    https://wiki.multitheftauto.com/wiki/OOP
  8. I just changed the picture angle, Blips no remains in position correct seem to float
  9. Hello I created this state of the weapon, it opens when I click the button 1, the objective wanted to do it to open just turning the mouse wheel, and Close after a time Please help me
  10. Hello Created and develop the style radar GTA V. I decided to change the rotation of the image, the result I got. The blips on the radar appear to "float" ... Help please
  11. edited script, he is not the author!! edited/stolen: https://community.multitheftauto.com/ind ... s&id=10744 original: https://community.multitheftauto.com/ind ... ls&id=9350 DONE
  12. Thanks #Roots Worked perfectly, good job
  13. About What you are talking about? Thank Banex I will complete
  14. Yes #Roots I tried to work it out, but did not work
  15. I'm with this script, as I do for him not take all my money when I die, instead take only one value (500) of my money function createMoney(player) local x, y, z = getElementPosition(player); local x1, y1, x2, y2; x1 = (x-2)+(math.random()*4); y1 = (y-2)+(math.random()*4); x2 = (x-2)+(math.random()*4); y2 = (y-2)+(math.random()*4); local moneyAmmount = getPlayerMoney(player); -- it is not fair too get all the player money. moneyAmmount = math.floor(moneyAmmount/1); takePlayerMoney(player, moneyAmmount); -- We are going to create 3 pickups, zo we are just cut the ammount in half moneyAmmount = math.floor(moneyAmmount/3); -- Create the pickups setElementData(createPickup(x1, y1, z, 3, 1212), "ammount", moneyAmmount); setElementData(createPickup(x2, y2, z, 3, 1212), "ammount", moneyAmmount); setElementData(createPickup(x2, y2, z, 3, 1212), "ammount", moneyAmmount); end function moneyPickupHit(player) local money = getElementData(source, "ammount"); if money then givePlayerMoney(player, money); destroyElement(source); end end function playerJustGotDied(ammo, attacker, weapon, bodypart) createMoney(source); end addEventHandler("onPickupUse", getRootElement(), moneyPickupHit); addEventHandler("onPlayerWasted", getRootElement(), playerJustGotDied);
  16. kkkkk vish saiu voando de patineteeeeeeee
×
×
  • Create New...