Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/10/20 in all areas

  1. CEF does not work on linux/wine. Unfortunately theres no workarround.
    1 point
  2. try it addEventHandler("onClientVehicleCollision", getRootElement(),function (collider,force, bodyPart, x, y, z, nx, ny, nz) if collider and getElementType(collider) == "player" then if not isElementFrozen(source) then if collider ~= source then if not getVehicleOccupant(source,0) then setElementFrozen(source, true) setTimer(setElementFrozen, 1000, 1, source, false) end end end end end)
    1 point
  3. Você pode sim. Invés de adicionar o destroyElement diretamente, faça um trigger para o server-side, e destrua-o lá. NOTA: Apenas objetos que foram criados em determinado lado, podem ser removidos. Objetos criados em client-side, só podem ser manuseados client-side, e vice-versa. Porém, isso não te impede de manuseá-los através de trigger. Posso estar enganado sobre, estou apenas relatando o que aconteceu comigo a algum tempo atrás. ?
    1 point
  4. function whenClick(button, state, _, _, _, _, _, clickedElement) local isLeft = button == "left" local isUp = state == "up" if isLeft and isUp then local object = clickedElement if isElement(object) and getElementType(object) == "object" then outputChatBox(getElementModel(object)) end end end addEventHandler("onClientClick", root, whenClick) Código testado. Não é necessário verificar se a pessoa que clicou é um jogador, pois apenas um jogador pode clicar. Então é sem sentido. Apenas não adicionei aquela elementData, faça isso você mesmo. O código está funcionando perfeitamente.
    1 point
  5. Olá. Recomendo usar o evento client-side onClientClick. Pois o evento que você está utilizando, ele possui uma área de clique um pouco errada. Creio eu que seja devido à sincronização. Já no evento que citei acima, ele irá reconhecer qualquer elemento, independente da posição, latência ou qualquer outra coisa.
    1 point
  6. Dogfight V2.0-Automatically locking on the enemy target.-Cannot lock on Team Players.-Rockets can only be evaded by flares or outrunning the lockon distance, otherwise players will die by to homing missile.Original Resource by "specahawk":https://forum.multitheftauto.com/topic/101284-rel-better-hydra-missiles/Watch video for more info:https://www.youtube.com/watch?v=vC61OyV0DWo DOWNLOAD RESOURCE HERE
    1 point
  7. Fps اذا لاق ينزل الـ يعني المود يحمل Timer كثير حاول تقلل وإذا لاق عدم سرعة السيرفر يعني تأخر فالشات وكذا فـ من السيرفر المساحة صغيرة يعني مش من المود ؟
    1 point
×
×
  • Create New...