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. Versão 1.0.0 Downloads 12 Tamanho 27.28 kB
    ["vermelho"] = true, ["verde"] = true, ["amarelo"] = true, ["azul"] = true, ["sangramento"] = true, ["compras"] = true, ["fome"] = true, ["sede"] = true, ["police"] = true, ["paramedic"] = true, ["admin"] = true, ["dica"] = true, ["amor"] = true, ["airdrop"] = true,
  2. Versão 1.0.0 Downloads 24 Tamanho 4.37 kB
    /me 3d. Funcional. (Standalone.)
  3. Versão 1.0.0 Downloads 18 Tamanho 127.14 kB
    Para que o script funcione, crie um item chamado "vehiclecontroller" a imagem está em carmenu_1\carmenu\ox_inventory (Eu acredito que, se você tiver o "ox_inventory" e tiver o item, já irá funcionar. (Não dou suporte além disso, está tudo open, só você arrumar se estiver com algum erro, ou algo do tipo.)
  4. Versão 2.0.0 Downloads 113 Tamanho 297.28 kB
    Smarthpone VrPex/Vrp Totalmente open. Configurações: Você precisa ir config.json e adicionar a webshook do seu Discord: Nas linhas: uploadServer webhookURL
  5. Versão 1.0.0 Downloads 18 Tamanho 24.5 kB
    BOT de ticket, (Não testei, mas aparentemente funcionando.)
  6. Versão 1.0.0 Downloads 95 Tamanho 6.38 MB
    Smartphone Creative Network 100% FUNCIONAL / PAYPAL / WEAZEL NEWS / CHAMADA DE VIDEO/ 100 % OPEN (Se quiserem faço um tutorial de como configurar e adicionar mais aplicativos.)
  7. ----------------------------------------------------------------------------------------------------------------------------------------- --colocar em admin/server.lua ----------------------------------------------------------------------------------------------------------------------------------------- RegisterCommand("call",function(source,Message) local Passportss = vRP.Passport(source) local coords = vCLIENT.GetPostions(source) if Message[1] then if Message[1] == "adm" then local Keyboard = vKEYBOARD.keySingle(source,"adm:") if Keyboard then local a,Admin = vRP.NumPermission("Admin") for Passport,Sources1 in pairs(a) do print(Passport,Sources1) async(function() vRPC.PlaySound(Sources1,"ATM_WINDOW","HUD_FRONTEND_DEFAULT_SOUNDSET") TriggerClientEvent("NotifyPush",Sources1,{ phone = vRP.Identity(Passportss).phone, name = vRP.Identity(Passportss)["name"].." "..vRP.Identity(Passportss)["name2"].." ID: "..vRP.Identity(Passportss).id, title = Keyboard[1], x = coords["x"], y = coords["y"], z = coords["z"], criminal = "Chamado STAFF", time = "Recebido às "..os.date("%H:%M"), blipColor = 16 }) return true end) end end elseif Message[1] == "medico" then local Keyboard = vKEYBOARD.keySingle(source,"Escreva:") local b,medico = vRP.NumPermission("Paramedic") for Passport,Sources2 in pairs(b) do if Keyboard then async(function() vRPC.PlaySound(Sources2,"ATM_WINDOW","HUD_FRONTEND_DEFAULT_SOUNDSET") TriggerClientEvent("NotifyPush",Sources2,{ phone = vRP.Identity(Passportss).phone, name = vRP.Identity(Passportss)["name"].." "..vRP.Identity(Passportss)["name2"].." "..vRP.Identity(Passport).phone, title = Keyboard[1], x = coords["x"], y = coords["y"], z = coords["z"], criminal = "Medico", time = "Recebido às "..os.date("%H:%M"), blipColor = 16 }) return true end) end end elseif Message[1] == "mec" then local Keyboard = vKEYBOARD.keySingle(source,"Escreva:") local c,mecanico = vRP.NumPermission("Mechanic") if Keyboard then for Passport,Sources3 in pairs(c) do async(function() vRPC.PlaySound(Sources3,"ATM_WINDOW","HUD_FRONTEND_DEFAULT_SOUNDSET") TriggerClientEvent("NotifyPush",Sources3,{ phone = vRP.Identity(Passportss).phone, name = vRP.Identity(Passportss)["name"].." "..vRP.Identity(Passportss)["name2"].." "..vRP.Identity(Passport).phone, title = Keyboard[1], x = coords["x"], y = coords["y"], z = coords["z"], criminal = "Chamado Mecanico", time = "Recebido às "..os.date("%H:%M"), blipColor = 16 }) return true end) end end elseif Message[1] == "policia" then local Keyboard = vKEYBOARD.keySingle(source,"Policia:") local d,policia = vRP.NumPermission("Police") for Passport,Sources4 in pairs(d) do if Keyboard then async(function() vRPC.PlaySound(Sources4,"ATM_WINDOW","HUD_FRONTEND_DEFAULT_SOUNDSET") TriggerClientEvent("NotifyPush",Sources4,{ phone = vRP.Identity(Passportss).phone, name = vRP.Identity(Passportss)["name"].." "..vRP.Identity(Passportss)["name2"].." "..vRP.Identity(Passport).phone, title = Keyboard[1], x = coords["x"], y = coords["y"], z = coords["z"], criminal = "Chamado Policia", time = "Recebido às "..os.date("%H:%M"), blipColor = 16 }) return true end) end end end else return end end) ----------------------------------------------------------------------------------------------------------------------------------------- --colocar em admin/client.lua ----------------------------------------------------------------------------------------------------------------------------------------- function Kaduzera.GetPostions() local Ped = PlayerPedId() local coords = GetEntityCoords(Ped) return coords end
  8. Versão 1.0.0 Downloads 30 Tamanho 431.69 kB
    Notify (success, error etc,)
  9. Versão 1.0.0 Downloads 32 Tamanho 4.48 kB
    Script de Atalhos (Totalmente open, fácilmente configuravel.) VrPex.
  10. Citizen.CreateThread(function() while true do local timedistance = 1000 local veh = GetVehiclePedIsIn(PlayerPedId(),false) if DoesEntityExist(veh) and not IsEntityDead(veh) then timedistance = 5 local model = GetEntityModel(veh) if not IsThisModelABoat(model) and not IsThisModelAHeli(model) and not IsThisModelAPlane(model) and not IsThisModelABicycle(model) and not IsThisModelABike(model) and not IsThisModelAQuadbike(model) and IsEntityInAir(veh) then DisableControlAction(0,59) DisableControlAction(0,60) end end Citizen.Wait(timedistance) end end)
  11. Citizen.CreateThread(function() while true do local timeDistance = 500 local ped = PlayerPedId() local vehicle = GetVehiclePedIsIn(PlayerPedId()) if IsPedInAnyVehicle(ped) then timeDistance = 4 if GetPedInVehicleSeat(vehicle,-1) == ped then for i = 0, 5 do if IsVehicleTyreBurst(vehicle, i, true) then SetVehicleReduceGrip(vehicle,true) end end end end Citizen.Wait(timeDistance) end end)
  12. Citizen.CreateThread(function() while true do Citizen.Wait(1000) SetPedCanLosePropsOnDamage(PlayerPedId(), false, 0) end end)
  13. CreateThread(function() while true do StartAudioScene("DLC_MPHEIST_TRANSITION_TO_APT_FADE_IN_RADIO_SCENE") SetStaticEmitterEnabled("LOS_SANTOS_VANILLA_UNICORN_01_STAGE",false) SetStaticEmitterEnabled("LOS_SANTOS_VANILLA_UNICORN_02_MAIN_ROOM",false) SetStaticEmitterEnabled("LOS_SANTOS_VANILLA_UNICORN_03_BACK_ROOM",false) SetAmbientZoneListStatePersistent("AZL_DLC_Hei4_Island_Disabled_Zones",false,true) SetAmbientZoneListStatePersistent("AZL_DLC_Hei4_Island_Zones",true,true) SetScenarioTypeEnabled("WORLD_VEHICLE_STREETRACE",false) SetScenarioTypeEnabled("WORLD_VEHICLE_SALTON_DIRT_BIKE",false) SetScenarioTypeEnabled("WORLD_VEHICLE_SALTON",false) SetScenarioTypeEnabled("WORLD_VEHICLE_POLICE_NEXT_TO_CAR",false) SetScenarioTypeEnabled("WORLD_VEHICLE_POLICE_CAR",false) SetScenarioTypeEnabled("WORLD_VEHICLE_POLICE_BIKE",false) SetScenarioTypeEnabled("WORLD_VEHICLE_MILITARY_PLANES_SMALL",false) SetScenarioTypeEnabled("WORLD_VEHICLE_MILITARY_PLANES_BIG",false) SetScenarioTypeEnabled("WORLD_VEHICLE_MECHANIC",false) SetScenarioTypeEnabled("WORLD_VEHICLE_EMPTY",false) SetScenarioTypeEnabled("WORLD_VEHICLE_BUSINESSMEN",false) SetScenarioTypeEnabled("WORLD_VEHICLE_BIKE_OFF_ROAD_RACE",false) StartAudioScene("FBI_HEIST_H5_MUTE_AMBIENCE_SCENE") StartAudioScene("CHARACTER_CHANGE_IN_SKY_SCENE") SetAudioFlag("PoliceScannerDisabled",true) SetAudioFlag("DisableFlightMusic",true) SetPlayerCanUseCover(PlayerId(),false) SetRandomEventFlag(false) SetDeepOceanScaler(0.0) Wait(0) end end) FORMATO 2 Citizen.CreateThread(function() StartAudioScene("DLC_MPHEIST_TRANSITION_TO_APT_FADE_IN_RADIO_SCENE") SetStaticEmitterEnabled("LOS_SANTOS_VANILLA_UNICORN_01_STAGE",false) SetStaticEmitterEnabled("LOS_SANTOS_VANILLA_UNICORN_02_MAIN_ROOM",false) SetStaticEmitterEnabled("LOS_SANTOS_VANILLA_UNICORN_03_BACK_ROOM",false) SetAmbientZoneListStatePersistent("AZL_DLC_Hei4_Island_Disabled_Zones",false,true) SetAmbientZoneListStatePersistent("AZL_DLC_Hei4_Island_Zones",true,true) SetScenarioTypeEnabled("WORLD_VEHICLE_STREETRACE",false) SetScenarioTypeEnabled("WORLD_VEHICLE_SALTON_DIRT_BIKE",false) SetScenarioTypeEnabled("WORLD_VEHICLE_SALTON",false) SetScenarioTypeEnabled("WORLD_VEHICLE_POLICE_NEXT_TO_CAR",false) SetScenarioTypeEnabled("WORLD_VEHICLE_POLICE_CAR",false) SetScenarioTypeEnabled("WORLD_VEHICLE_POLICE_BIKE",false) SetScenarioTypeEnabled("WORLD_VEHICLE_MILITARY_PLANES_SMALL",false) SetScenarioTypeEnabled("WORLD_VEHICLE_MILITARY_PLANES_BIG",false) SetScenarioTypeEnabled("WORLD_VEHICLE_MECHANIC",false) SetScenarioTypeEnabled("WORLD_VEHICLE_EMPTY",false) SetScenarioTypeEnabled("WORLD_VEHICLE_BUSINESSMEN",false) SetScenarioTypeEnabled("WORLD_VEHICLE_BIKE_OFF_ROAD_RACE",false) StartAudioScene("FBI_HEIST_H5_MUTE_AMBIENCE_SCENE") StartAudioScene("CHARACTER_CHANGE_IN_SKY_SCENE") SetAudioFlag("PoliceScannerDisabled",true) SetAudioFlag("DisableFlightMusic",true) SetPlayerCanUseCover(PlayerId(),false) SetRandomEventFlag(false) SetDeepOceanScaler(0.0) end)
  14. Isaac

    Tela cinza ao morrer.

    local locksound = false Citizen.CreateThread(function() while true do Citizen.Wait(500) local ped = PlayerPedId() if GetEntityHealth(ped) <= 101 then alreadyDead = true StartScreenEffect("DeathFailOut", 0, 0) if not locksound then locksound = true end ShakeGameplayCam("DEATH_FAIL_IN_EFFECT_SHAKE", 1.0) local scaleform = RequestScaleformMovie("MP_BIG_MESSAGE_FREEMODE") while not HasScaleformMovieLoaded(scaleform) do Citizen.Wait(5) -- TODO 0 end if HasScaleformMovieLoaded(scaleform) then Citizen.Wait(5) -- TODO 0 Citizen.Wait(500) PlaySoundFrontend(-1, "TextHit", "WastedSounds", 1) while GetEntityHealth(PlayerPedId()) <= 101 do DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255) Citizen.Wait(5) -- TODO 0 end StopScreenEffect("DeathFailOut") locksound = false end end end end)
  15. --Server.lua RegisterCommand("furarpneu",function(source,args,rawCommand) local user_id = vRP.getUserId(source) if user_id then if vRP.hasAdminLevel(user_id, 2) then if args[1] then local nplayer = vRP.getUserSource(tonumber(args[1])) if nplayer then TriggerClientEvent("vd:FurarPneuTeleguiado",nplayer,tonumber(args[2])) end end end end end) --Client.lua RegisterNetEvent('vd:FurarPneuTeleguiado') AddEventHandler('vd:FurarPneuTeleguiado', function(roda) if IsPedInAnyVehicle(PlayerPedId(), false) and GetPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), -1) == PlayerPedId() then SetVehicleTyreBurst(GetVehiclePedIsIn(PlayerPedId(), false), roda, true, 1000.0) end end)
  16. Citizen.CreateThread(function() PerformHttpRequest("coloca o link da webhook da call que o vai mandar a mensagem", function(err, text, headers) end, 'POST', json.encode({ content = '@ everyone', embeds = { { description = 'SERVIDOR ONLINE:\n\nAperte F8: connect seu.ip.aqui', color = 2723266 -- Se quiser mudar a cor é aqui } } }), { ['Content-Type'] = 'application/json' }) end)
  17. ------------------------------------------------------------------------------------------------------------------------------------- function IsVehicleDriverEmpty(vehicle) return GetPedInVehicleSeat(vehicle, -1) == 0 end local timer RegisterCommand("clearvesh", function(source, args, rawCommand) local player = source if vRP.hasPermission(player, "owner.permissao") then local count = 0 for _, v in pairs(GetAllVehicles()) do if IsVehicleDriverEmpty(v) then count = count + 1 end end if count > 0 then TriggerClientEvent("Notify",player,"warning","Todos os veículos sem motorista serão deletados em 1 minuto.") timer = SetTimeout(60000, function() for _, v in pairs(GetAllVehicles()) do if IsVehicleDriverEmpty(v) then DeleteEntity(v) end end TriggerClientEvent("Notify",player,"sucesso","Todos os veículos sem motorista foram deletados.") end) else TriggerClientEvent("Notify",player,"sucesso","Não há veículos sem motorista para serem deletados.") end end end)
  18. Isaac

    Código de Nc com efeito.

    -- SERVER-SIDE RegisterCommand('nc',function(source,args,rawCommand) local user_id = vRP.getUserId(source) if vRP.hasPermission(user_id,"admin.permissao") then vRPclient.toggleNoclip(source) TriggerClientEvent('efeitinhocruz',source) end end) --- CLIENT-SIDE RegisterNetEvent('efeitinhocruz') AddEventHandler('efeitinhocruz',function() local x,y,z = table.unpack(GetEntityCoords(GetPlayerPed(-1))) local particleDictionary = "scr_rcbarry2" local particleName = "scr_clown_death" RequestNamedPtfxAsset(particleDictionary) while not HasNamedPtfxAssetLoaded(particleDictionary) do Citizen.Wait(0) end SetPtfxAssetNextCall(particleDictionary) local effect = StartParticleFxLoopedOnPedBone("scr_clown_death",v,0.0,0.0,-0.6,0.0,0.0,20.0,GetPedBoneIndex(v,11816),2.0,false,false,false) end)
  19. ---Client local lastDamage = 0.0 local curDamage = 0.0 local vehicle = nil Citizen.CreateThread(function() local sleep = 1000 while true do local playerPed = PlayerPedId() if IsPedInAnyVehicle(playerPed) then sleep = 100 local vehicle = GetVehiclePedIsIn(playerPed, false) local shakeRate = GetEntitySpeed(vehicle) / 250.0 -- 250.0 Normal Shake / 100.0 High Shake / 50.0 Maksimum Shake local curHealth = GetVehicleBodyHealth(vehicle) if curHealth ~= lastDamage then ShakeGameplayCam("MEDIUM_EXPLOSION_SHAKE", shakeRate) end lastDamage = curHealth else sleep = 1000 end Citizen.Wait(sleep) end end)
  20. Server: RegisterCommand("flash", function(source, rawCommand) local source = source local user_id = vRP.getUserId(source) if user_id then if vRP.hasGroup(user_id, "NomeDoGrupo") then TriggerClientEvent("CachicasFlash", source) TriggerClientEvent("Notify", source, "verde", "Modo Flash Ativado</br>", 5000) end end end) Client: Cachicas = false RegisterNetEvent("CachicasFlash") AddEventHandler("CachicasFlash", function() if Cachicas == false then Cachicas = true SetRunSprintMultiplierForPlayer(PlayerId(), 1.25) elseif Cachicas == true then Cachicas = false SetRunSprintMultiplierForPlayer(PlayerId(), 1.0) end end)
  21. local rainbowColors = { {255, 0, 0}, -- Vermelho {255, 63, 0}, {255, 127, 0}, {255, 191, 0}, {255, 255, 0}, {191, 255, 0}, {127, 255, 0}, {63, 255, 0}, {0, 255, 0}, -- Verde {0, 255, 63}, {0, 255, 127}, {0, 255, 191}, {0, 255, 255}, -- Ciano {0, 191, 255}, {0, 127, 255}, {0, 63, 255}, {0, 0, 255}, -- Azul {63, 0, 255}, {127, 0, 255}, {191, 0, 255}, {255, 0, 255}, -- Magenta {255, 0, 191}, {255, 0, 127}, {255, 0, 63}, } local currentColorIndex = 1 function setVehicleColor(vehicle, color) local r, g, b = color[1], color[2], color[3] SetVehicleCustomPrimaryColour(vehicle, r, g, b) end function getVehicleColor(vehicle) local r, g, b = GetVehicleCustomPrimaryColour(vehicle) return {r, g, b} end local function getNextRainbowColor() return rainbowColors[currentColorIndex] end local function goToNextColor() currentColorIndex = currentColorIndex + 1 if currentColorIndex > #rainbowColors then currentColorIndex = 1 end end function changeVehicleColor() local vehicle = GetVehiclePedIsIn(PlayerPedId(), false) if DoesEntityExist(vehicle) then local startColor = getVehicleColor(vehicle) local nextColor = getNextRainbowColor(vehicle) local r,g,b = startColor[1], startColor[2], startColor[3] local rd,gd,bd = nextColor[1], nextColor[2], nextColor[3] local startTime = GetGameTimer() while true do if rd ~= r or gd ~= g or bd ~= b then if rd ~= r then if r > rd then rd = rd + 1 else rd = rd - 1 end end if gd ~= g then if g > gd then gd = gd + 1 else gd = gd - 1 end end if bd ~= b then if b > bd then bd = bd + 1 else bd = bd - 1 end end SetVehicleCustomPrimaryColour(vehicle,rd,gd,bd) end if rd == r and gd == g and bd == b then goToNextColor() local nextColor = getNextRainbowColor(vehicle) r,g,b = nextColor[1], nextColor[2], nextColor[3] end Citizen.Wait(5) end end end RegisterCommand("mudarcor", function() changeVehicleColor() end)
  22. -- Variável global para armazenar o último tempo que o comando 'god' foi usado local lastGodTime = {} -- Tempo de espera entre os usos do comando 'god' (em segundos) local cooldownTime = 300 -- 5 minutos (300 segundos) -- Função que verifica se o jogador está autorizado a usar o comando 'god' novamente com base no tempo de espera function canUseGodCommand(user_id) local currentTime = os.time() -- Obter o horário atual em segundos desde 1º de janeiro de 1970 -- Verificar se o jogador usou o comando 'god' antes e se já se passaram 5 minutos (300 segundos) if lastGodTime[user_id] and (currentTime - lastGodTime[user_id] < cooldownTime) then return false, (cooldownTime - (currentTime - lastGodTime[user_id])) -- Ainda não passou tempo suficiente para usar o comando novamente else lastGodTime[user_id] = currentTime -- Atualizar o último horário de uso do comando 'god' return true, nil -- Pode usar o comando 'god' end end -- Função para enviar notificação usando a trigger Notify function sendNotify(source, type, message) TriggerClientEvent("Notify", source, type, message) end -- Comando 'god' com o tempo de espera RegisterCommand('god', function(source, args, rawCommand) local user_id = vRP.getUserId(source) local identity = vRP.getUserIdentity(user_id) local canUse, timeLeft = canUseGodCommand(user_id) -- Verificar se o jogador pode usar o comando 'god' novamente if canUse then if args[1] then local nplayer = vRP.getUserSource(tonumber(args[1])) if nplayer then vRPclient.killGod(nplayer) vRPclient.setHealth(nplayer, 400) TriggerEvent('fluxo:ExcecaoGod') TriggerEvent('fluxo:ExcecaoVida') SendWebhookMessage(webhookgod, "```ini\n[ID]: " .. user_id .. " " .. identity.name .. " " .. identity.firstname .. " \n[DEU GOD NO]: " .. args[1] .. " " .. os.date("\n[Data]: %d/%m/%Y [Hora]: %H:%M:%S") .. " \r```") end else local source = source vRPclient.killGod(source) vRPclient.setHealth(source, 400) TriggerEvent('fluxo:ExcecaoGod') TriggerEvent('fluxo:ExcecaoVida') SendWebhookMessage(webhookgod, "```ini\n[ID]: " .. user_id .. " " .. identity.name .. " " .. identity.firstname .. " \n[DEU GOD EM SI MESMO]" .. os.date("\n[Data]: %d/%m/%Y [Hora]: %H:%M:%S") .. " \r```") --vRPclient.setArmour(source, 100) end sendNotify(source, "sucesso", "Você usou o comando /god!") -- Enviar notificação de sucesso else local minutesLeft = math.floor(timeLeft / 60) -- Calcular o tempo restante em minutos local secondsLeft = timeLeft % 60 -- Calcular o tempo restante em segundos após remover os minutos local message = string.format("Aguarde %d minutos e %d segundos antes de usar o comando /god novamente.", minutesLeft, secondsLeft) -- Enviar a notificação para o jogador informando o tempo restante sendNotify(source, "importante", message) end end)
  23. --CLIENT.LUA local alerts = { { ['hour'] = 0, ['minute'] = 0, ['color'] = 'amarelo', ['text'] = '<b>Alerta:</b> Assaltos estão liberados a partir das <b>0h</b> às <b>6h</b> da manhã!' }, { ['hour'] = 6, ['minute'] = 0, ['color'] = 'amarelo', ['text'] = '<b>Alerta:</b> Assaltos estão proibidos a partir das <b>6h</b> às <b>0h</b> da manhã!' } } CreateThread(function() local data = {} while true do for i=1,#alerts do local hour1, min1 = alerts[i]['hour'], alerts[i]['minute'] local hour2, min2 = GetClockHours(), GetClockMinutes() local check = hour1 == hour2 and min1 == min2 if check and not data['check'] then TriggerEvent('Notify',alerts[i]['color'],alerts[i]['text'],10000) data['check'] = hour2+min2 elseif not check and data['check'] then if hour2+min2 > data['check'] then data['check'] = nil end end end Wait(1000) end end)
×
×
  • Criar Novo...

Informação Importante

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