Ir para conteúdo
  • Cadastre-se

Encontre Mods e Recursos FiveM

8418 arquivos e posts disponíveis no banco de dados

Hideki Developerz

[CEO]
  • Posts

    3.565
  • Registro em

  • Última visita

  • Dias Ganhos

    582

Tudo que Hideki postou

  1. Versão 1.0.1 Downloads 66 Tamanho 4.62 MB
    BASE DA POLICIA FEDERAL PARA FIVEM Coordenadas: /tpcds 2130.68100000,3849.25300000,34.25158000
  2. Cara, complicado, todos nós estamos utilizando, eu creio que falta alguma coisa ai pra vc, algum ajuste que falta certeza.
  3. é o mesmo tema, vc precisa criar o prepare inexistente, no caso o IPVA agora, pesquise no seu código por: vrp/create_ipva e vai ver a solicitação da query, vai no banco e crie o prepare, a premissa é a mesma.
  4. Amigo, assim que vc comenta é atualizado o arquivo, esta dizendo "Comente agradeça e será liberado".
  5. É o que eu imaginei, você não tem a query do getVehicle, por isso está retornando nil, baixe o sistema de garagen da Nation, lá tem todos os prepares, vou deixar o meu: if not config.customMYSQL then -- vRP._prepare("vRP/createVehicleData", [[ -- IF EXISTS(SELECT table_name -- FROM INFORMATION_SCHEMA.TABLES -- WHERE table_name LIKE 'vrp_user_vehicles') -- THEN -- ALTER TABLE vrp_user_vehicles ADD estado TEXT DEFAULT '[]'; -- ELSE -- IF EXISTS(SELECT table_name -- FROM INFORMATION_SCHEMA.TABLES -- WHERE table_name LIKE 'vrp_vehicles') -- THEN -- ALTER TABLE vrp_vehicles ADD IF NOT EXISTS estado TEXT DEFAULT '[]'; -- END IF; -- END IF; -- ]]) --vRP._prepare("vRP/create_ipva", "ALTER TABLE vrp_user_vehicles ADD IF NOT EXISTS ipva varchar(255) DEFAULT '1930912803'") vRP._prepare("vRP/getVehicles", "SELECT * FROM vrp_user_vehicles WHERE user_id = @user_id") vRP._prepare("vRP/getVehicle", "SELECT * FROM vrp_user_vehicles WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("vRP/setDetido", "UPDATE vrp_user_vehicles SET detido = @detido, time = @time, ipva = @ipva WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("vRP/setIpva", "UPDATE vrp_user_vehicles SET ipva = @ipva WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("vRP/setVehicleData", "UPDATE vrp_user_vehicles SET engine = @engine, body = @body, fuel = @fuel, estado = @estado WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("creative/add_vehicle","INSERT IGNORE INTO vrp_user_vehicles(user_id,vehicle,ipva) VALUES(@user_id,@vehicle,@ipva)") vRP._prepare("creative/rem_vehicle","DELETE FROM vrp_user_vehicles WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("creative/get_vehicles","SELECT * FROM vrp_user_vehicles WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("creative/get_vehicle","SELECT * FROM vrp_user_vehicles WHERE user_id = @user_id") vRP._prepare("creative/move_vehicle","UPDATE vrp_user_vehicles SET user_id = @nuser_id WHERE user_id = @user_id AND vehicle = @vehicle") vRP._prepare("creative/rem_srv_data","DELETE FROM vrp_srv_data WHERE dkey = @dkey") vRP._prepare("Bjorn/get_homeuser", "SELECT 1 FROM mirtin_users_homes WHERE proprietario = @user_id AND HouseID = @home LIMIT 1") end
  6. Experimenta essa versão, ela é da Nation, a versão que eu utilizo, em seguida me diz se funciona, se não funcionar, me envia a query do banco de dados "getVehicle". RegisterCommand('chave',function(source, args) local user_id = vRP.getUserId(source) local keyCommands = { ["add"] = function(vehicle, id) if not vRP.getUserSource(id) then TriggerClientEvent("Notify", source, "aviso", "ID "..id.." não está online", 5000) return end local index = "key-"..vehicle.."-"..user_id if not sharedKeys[index] then sharedKeys[index] = { id } TriggerClientEvent("Notify", source, "sucesso", "Chave do veículo <b>"..vehicle.."<.b> emprestada para o ID <b>"..id.."<.b>", 5000) else for k,v in pairs(sharedKeys[index]) do if id == v then TriggerClientEvent("Notify", source, "aviso", "ID "..id.." já possui a chave desse veículo", 5000) return end end table.insert(sharedKeys[index], id) TriggerClientEvent("Notify", source, "sucesso", "Chave do veículo <b>"..vehicle.."<.b> emprestada para o ID <b>"..id.."<.b>", 5000) end end, ["remove"] = function(vehicle, id) local index = "key-"..vehicle.."-"..user_id if sharedKeys[index] then for k,v in ipairs(sharedKeys[index]) do if id == v then table.remove(sharedKeys[index], k) TriggerClientEvent("Notify", source, "importante", "Chave do veículo <b>"..vehicle.."<.b> removida do ID <b>"..id.."<.b>", 5000) return end end TriggerClientEvent("Notify", source, "aviso", "ID "..id.." não possui a chave desse veículo", 5000) else TriggerClientEvent("Notify", source, "aviso", "ID "..id.." não possui a chave desse veículo", 5000) end end, ["list"] = function() local myvehicles = vRP.query("vRP/getVehicles", {user_id = user_id}) local list = "Chaves emprestadas:" if #myvehicles > 0 then for i, veh in ipairs(myvehicles) do local vehicle = veh.vehicle local index = "key-"..vehicle.."-"..user_id if sharedKeys[index] and #sharedKeys[index] > 0 then list = list.."<br><b>"..vehicle.."<.b>: " for k,v in ipairs(sharedKeys[index]) do if k == #sharedKeys[index] then list = list..v else list = list..v..",<br>" end end end end if string.len(list) > 24 then TriggerClientEvent("Notify",source,"importante", list) end end end } if args[1] and args[1] == "list" then keyCommands[args[1]]() return end if #args < 3 or not keyCommands[args[1]] then TriggerClientEvent("Notify", source, "aviso", "Utilize .chave <b>(add.remove) (veículo) (id)<.b>", 5000) return end local vehInfo = func.getVehicleInfo(args[2]) local id = parseInt(args[3]) local hasVehicle = vehInfo and #vRP.query("vRP/getVehicle", { user_id = user_id, vehicle = vehInfo.name }) > 0 if not hasVehicle then TriggerClientEvent("Notify", source, "aviso", "Você não possui o veículo <b>"..args[2].."<.b>", 5000) return elseif not id or id < 1 or id == user_id then TriggerClientEvent("Notify", source, "aviso", "ID inválido", 5000) return end keyCommands[args[1]](vehInfo.name, id) end)
  7. Opa, tudo bem? Não entendi bem sua dúvida, vc pergunta se alguem tem o sistema de chave e posta o sistema de chave? especifique melhor ok? qualquer coisa pode me chamar no bate papo.
  8. @FabioAndre não entendi, agora a porta esta aberta e ainda assim não vai? sua base é Creative?
  9. A porta 3000 fica aberta apenas quando vc starta o script, se ainda assim ela não ficar aberta ai é problema na sua VPS ou vc não abriu corretamente no firewall, ai já conseguimos identificar o problema.
  10. Faz assim, pega a parte do create e roda a query no seu Heidsql: CREATE TABLE IF NOT EXISTS `curtidas` ( `id` int(11) NOT NULL AUTO_INCREMENT, `x_player_id` varchar(110) NOT NULL, `infos` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`infos`)), PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- Data exporting was unselected. -- Dumping structure for table spotify.playlists CREATE TABLE IF NOT EXISTS `playlists` ( `id` int(11) NOT NULL AUTO_INCREMENT, `x_player_id` varchar(110) NOT NULL, `playlists` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`playlists`)), PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
  11. Opa, tranquilo? não se faz necessário criar uma DB para o Spotify, você pode adicionar a tabela curtidas e playlist diretamente no seu banco de dados, onde esta escrito "Spotify" como tabela na conexão, você altera e coloca o seu banco de dados atual ok?
  12. Mostre o print do CMD, da tela da conexão com banco de dados e teste a porta 3000, também informe se vc alterou o IP.
  13. Olá! Segue o script! ----------------------------------------------------------------------------------------------------------------------------------------- -- /SNIPER ----------------------------------------------------------------------------------------------------------------------------------------- local timesniper = {} RegisterCommand('sniper',function(source,args,rawCommand) local source = source local user_id = vRP.getUserId(source) if vRP.hasPermission(user_id,"sniper.permissao") then if timesniper[user_id] == nil or timesniper[user_id] == 0 then timesniper[user_id] = 1800 vRP.giveInventoryItem(user_id,"wbody|WEAPON_HEAVYSNIPER",1) --Nome do item que recebe else TriggerClientEvent("Notify",source,"negado","Voce precisa esperar "..timesniper[user_id].." segundos para usar novamente!") end end end) Citizen.CreateThread(function() while true do Wait(1000) for k,v in pairs(timesniper) do if timesniper[k] > 0 then timesniper[k] = timesniper[k] - 1 end end end end)
  14. Você testou o cavalinho? o comando com os players etc? precisa reproduzir para entender, ao que tudo indica é que vc esta usando uma native não reconhecida ou de forma incorreta, retorne com essa informação, teste o cavalinho e volte a dizer.
  15. Visualizar Arquivos SISTEMA DE Parkour PARA FIVEM Olá! Segue um sistema de Parkour para sua webcidade. Autor Hideki Enviado 30/11/2023 Categoria FiveM Scripts & Sistemas Tipo STANDALONE (TODOS) Encriptado NÃO Créditos Exclusivo FivemDEV  
  16. Versão 1.0.0 Downloads 38 Tamanho 3.2 kB
    Olá! Segue um sistema de Parkour para sua webcidade.
  17. Visualizar Arquivos Poster in game para fivem Olá, segue um script bem legal para sua city! Poster in game sem necessidade de mapas @here script free do github de RoyaleWind. Basicamente você poderá adicionar banners na sua cidade sem necessidade de mapas. Não medir o ms no resmon para saber o desempenho real disso. Vídeo: Autor Hideki Enviado 30/11/2023 Categoria FiveM Scripts & Sistemas Tipo VRP/VRPEX Encriptado NÃO Créditos Exclusivo FivemDEV  
  18. Versão 1.0.1 Downloads 61 Tamanho 269.96 kB
    Olá, segue um script bem legal para sua city! Poster in game sem necessidade de mapas @here script free do github de RoyaleWind. Basicamente você poderá adicionar banners na sua cidade sem necessidade de mapas. Não medir o ms no resmon para saber o desempenho real disso. Vídeo:
  19. Você precisa clicar em visualizar arquivo, vai ser direcionada a Download, aqui é o tópico de suporte, no arquivo você deve curtir e baixar.
×
×
  • Criar Novo...

Informação Importante

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