Ir para conteúdo
  • Cadastre-se

Encontre Mods e Recursos FiveM

8241 arquivos e posts disponíveis no banco de dados

Isaac

Elite
  • Posts

    208
  • Registro em

  • Última visita

  • Dias Ganhos

    60

Tudo que Isaac postou

  1. --------------------------------------------------------------------------------------------------------------------------------------------- --VRP_DRIFT --------------------------------------------------------------------------------------------------------------------------------------------- local isDrifting = false Citizen.CreateThread(function() while true do Citizen.Wait(0) local player = GetPlayerPed(-1) local vehicle = GetVehiclePedIsIn(player, false) local speed = GetEntitySpeed(vehicle) * 3.6 -- Converter de m/s para km/h if IsControlPressed(0, 21) then -- Shift é pressionado (você pode alterar isso) if speed <= 100 then -- Verifica se a velocidade é menor ou igual a 100 km/h isDrifting = true -- Defina aqui o comportamento de perda de aderência do carro SetVehicleReduceGrip(vehicle, true) else isDrifting = false SetVehicleReduceGrip(vehicle, false) end else isDrifting = false SetVehicleReduceGrip(vehicle, false) end end end)
  2. -- CLIENT.LUA AddEventHandler("gameEventTriggered", function(eventName,args) if eventName == "CEventNetworkPlayerEnteredVehicle" then local selectedPed = args[1] if args[1] == PlayerId() then _IsPedInAnyVehicle = true _PlayerPedId = PlayerPedId() vehicle = args[2] _runAntiTroll() end end end) function _runAntiTroll() Citizen.CreateThread(function() while _IsPedInAnyVehicle do local ped = PlayerPedId() _IsPedInAnyVehicle = IsPedInAnyVehicle(ped) if IsPedInAnyVehicle(ped) then local veh = GetVehiclePedIsIn(ped) local distancia = GetDistanceBetweenCoords(GetEntityCoords(veh),168.52,-1006.81,29.17,true) local distancia2 = GetDistanceBetweenCoords(GetEntityCoords(veh),-461.71,-340.33,35.2,true) local distancia3 = GetDistanceBetweenCoords(GetEntityCoords(veh),2484.59,-383.67,93.74,true) if (IsVehicleModel(veh,GetHashKey("bus")) or IsVehicleModel(veh,GetHashKey("bus2")) or IsVehicleModel(veh,GetHashKey("coach"))) and (distancia < 80 or distancia2 < 80 or distancia3 < 80 ) then TriggerEvent("fun_notify", "#8B0000", "Aviso", "Não pode se aproximar da praça com esse veículo.", 5000) local vehicle = vRP.getNearestVehicle(7) if IsEntityAVehicle(vehicle) then local model = GetEntityModel(vehicle) TriggerServerEvent('fun_module:delete_vehicle',GetPlayerServerId(PlayerId()),VehToNet(vehicle),model) end Wait(1000) SetEntityCoords(PlayerPedId(),454.9, -601.52, 28.55) end if (IsVehicleModel(veh,GetHashKey("trash")) or IsVehicleModel(veh,GetHashKey("trash2"))) and (distancia < 80 or distancia2 < 80 or distancia3 < 80) then TriggerEvent("fun_notify", "#8B0000", "Aviso", "Não pode se aproximar da praça com esse veículo.", 5000) local vehicle = vRP.getNearestVehicle(7) if IsEntityAVehicle(vehicle) then local model = GetEntityModel(vehicle) TriggerServerEvent('fun_module:delete_vehicle',GetPlayerServerId(PlayerId()),VehToNet(vehicle),model) end Wait(1000) SetEntityCoords(PlayerPedId(),-350.14, -1569.64, 25.23) end if (IsVehicleModel(veh,GetHashKey("tiptruck")) or IsVehicleModel(veh,GetHashKey("tiptruk2"))) and (distancia < 80 or distancia2 < 80 or distancia3 < 80) then TriggerEvent("fun_notify", "#8B0000", "Aviso", "Não pode se aproximar da praça com esse veículo.", 5000) local vehicle = vRP.getNearestVehicle(7) if IsEntityAVehicle(vehicle) then local model = GetEntityModel(vehicle) TriggerServerEvent('fun_module:delete_vehicle',GetPlayerServerId(PlayerId()),VehToNet(vehicle),model) end Wait(1000) SetEntityCoords(PlayerPedId(),1051.14,-1957.16,31.05) end if (IsVehicleModel(veh,GetHashKey("stockade")) or IsVehicleModel(veh,GetHashKey("stockade"))) and (distancia < 80 or distancia2 < 80 or distancia3 < 80) then TriggerEvent("fun_notify", "#8B0000", "Aviso", "Não pode se aproximar da praça com esse veículo.", 5000) local vehicle = vRP.getNearestVehicle(7) if IsEntityAVehicle(vehicle) then local model = GetEntityModel(vehicle) TriggerServerEvent('fun_module:delete_vehicle',GetPlayerServerId(PlayerId()),VehToNet(vehicle),model) end Wait(1000) SetEntityCoords(PlayerPedId(),-40.41,-663.87,33.49) end if (IsVehicleModel(veh,GetHashKey("phantom")) or IsVehicleModel(veh,GetHashKey("packer"))) and (distancia < 80 or distancia2 < 80 or distancia3 < 80) then TriggerEvent("fun_notify", "#8B0000", "Aviso", "Não pode se aproximar da praça com esse veículo.", 5000) local vehicle = vRP.getNearestVehicle(7) if IsEntityAVehicle(vehicle) then local model = GetEntityModel(vehicle) TriggerServerEvent('fun_module:delete_vehicle',GetPlayerServerId(PlayerId()),VehToNet(vehicle),model) end Wait(1000) SetEntityCoords(PlayerPedId(),790.06,-3167.33,6.22) end end Citizen.Wait(2000) end end) end
  3. Isaac

    Carregar NPC

    -- CLIENT.LUA local carregado = false RegisterCommand("carregarnpc",function(source,args) local ped = PlayerPedId() local randomico,npcs = FindFirstPed() repeat local distancia = GetDistanceBetweenCoords(GetEntityCoords(ped),GetEntityCoords(npcs),true) if not IsPedAPlayer(npcs) and distancia <= 3 and not IsPedInAnyVehicle(ped) and not IsPedInAnyVehicle(npcs) then if carregado then ClearPedTasksImmediately(carregado) DetachEntity(carregado,true,true) TaskWanderStandard(carregado,10.0,10) Citizen.InvokeNative(0xAD738C3085FE7E11,carregado,true,true) carregado = false else Citizen.InvokeNative(0xAD738C3085FE7E11,npcs,true,true) AttachEntityToEntity(npcs,ped,4103,11816,0.48,0.0,0.0,0.0,0.0,0.0,false,false,true,false,2,true) carregado = npcs sucess = true end end sucess,npcs = FindNextPed(randomico) until not sucess EndFindPed(randomico) end)
  4. Versão 1.0.0 Downloads 23 Tamanho 252.81 kB
    Skinshop do killua (Não foi testado.) Apenas retirado de uma base. (Estava funcionando.)
  5. Versão 1.0.0 Downloads 19 Tamanho 137.81 kB
    Chat da cidade com opção de emoji. (Tem que arrumar alguams coisas.)
  6. Versão 1.0.0 Downloads 9 Tamanho 163.14 kB
    Craft pra Creative V5.
  7. Versão 1.0.0 Downloads 17 Tamanho 6.12 MB
    Mirtir login Open. (Não dou suporte.)
  8. Versão 1.0.0 Downloads 31 Tamanho 4.95 MB
    Loading do Complexo ato II. Não dou suporte. Eu retirei de uma base Creative. É para estava funcionando.
  9. Isaac

    Hud.

    Versão 1.0.0 Downloads 12 Tamanho 33.25 kB
    É uma hud como qualquer outra, não tem o que falar.
  10. Versão 1.0.0 Downloads 5 Tamanho 2.04 MB
    Short com meia. Tem várias cores aparentemente.
  11. Versão 1.0.0 Downloads 12 Tamanho 2.75 MB
    Ped do Titio Lucifer.
  12. Versão 1.0.0 Downloads 8 Tamanho 21.68 kB
    VRP Garages. (Não foi testado.) Não dou suporte.
  13. Versão 1.0.0 Downloads 6 Tamanho 37.84 kB
    Script de fila. (Eu não testei, e não dou suporte algum.) Olhando os códigos parece funcionar. Mas talvez tenha algum bug, ou conflito com o vrp.
  14. Versão 1.0.0 Downloads 29 Tamanho 4.07 kB
    Movimento do banco - Quem morre , se mata, perde vida sozinho. - Controle de quem Mata, " Jogador que Matou - Jogador que Morreu " - Controle do CHAT, quem digita. Basta configurar os Webook
  15. Versão 1.0.0 Downloads 12 Tamanho 3.66 kB
    Vrp_itemdrop. (Por prop.) Totalmente open.
  16. Versão 1.0.0 Downloads 16 Tamanho 1.71 kB
    Nome em cima do player para adm. VrPex.
  17. Versão 1.0.0 Downloads 16 Tamanho 688.34 kB
    Menu VrPex. Crédios: @Bruja.
  18. Versão 1.0.0 Downloads 11 Tamanho 30.5 kB
    Gui.lua (O aceitar está vermelho. Só mudar a cor) Não dou suporte.
  19. Versão 1.0.0 Downloads 17 Tamanho 982.43 kB
    Painel para setar player. (Está ofuscado.)
  20. Versão 1.0.0 Downloads 19 Tamanho 4.09 MB
    Função: Garagem, Conce Banco, Identidade, Notify etc.
  21. Versão 1.0.0 Downloads 55 Tamanho 20.98 MB
    Warehouse, Vehcontrol, Trucker, Towdriver, Target, Tablet, Survival, Spawn, Showme, Request, Rádio, Races, Police, e muito mais.
  22. Versão 1.0.0 Downloads 7 Tamanho 18.33 kB
    Pack de notify para sua cidade.
  23. Versão 1.0.0 Downloads 9 Tamanho 179.43 kB
    propertys, postit, lscustoms (Para base creative, totalmente funcional.)
  24. Versão 1.0.0 Downloads 7 Tamanho 3.26 kB
    Doors, script básico, mas funcional. Configure as permissões. (Creative.)
×
×
  • Criar Novo...

Informação Importante

Esse website utiliza Cookies, se continuar navegando você concordar na usabilidade.