-
Posts
3872 -
Registro em
-
Última visita
-
Dias Ganhos
594
Tipo de Conteúdo
Perfis
Fóruns
Downloads
Loja Virtual
Galeria
Freelancers
Videos
Tudo que Hideki postou
-
-
Versão 1.0.0 Downloads 18 Tamanho 1.21 kBOlá, Com esse script você vai evitar o BUG DE PIXEL, que nada mais é, ficar escondido atrás da parede e ficar atirando pela "quina/beirada" como preferir chamar!
-
Olá, boa tarde! Segue o link do 3Ds Max para fazer suas edições. [Conteúdo oculto] Vírus total: [Conteúdo oculto]
-
Olá a todos! Andei aprendendo a mexer com mapas para aprender a customizar a minha cidade, então achei esse tutorial e aprendei muito bem com ele, espero que ajude vocês.
-
O MELHOR SISTEMA DE AUTENTICAÇÃO PARA FIVEM - FIVEMDEV
Hideki postou um tópico no fórum em Github Fivemdev
Olá a todos! Esta em desenvolvimento um script para autenticação de SCRIPTS, esse script esta com a contribuição de alguns DEVS, e estamos trabalhando para se tornar o melhor para se utilizar. A permissão para acessar esse SCRIPT é concedida somente quem tem a TAG de desenvolvedor. Essa que você ganha contribuindo com a nossa comunidade, ajudando com soluções e trazendo novidades. 📋 Diretório do GITHUB: [Conteúdo oculto] EDITORES: [CEO]HIDEKI CHANGELOG: 25/03/2023 Agora o JSON vai identificar em um único arquivo todos os AUTH, basta você colocar o script; O código foi otimizado para consultar todos os RESOURCES que você configurar no JSON; 29/03/2023 Agora o script é 3em1, verifica o arquivo, verifica o ip e agora também verifica a versão tudo em um só sistema. No exemplo abaixo a versão do arquivo atual é 1.0.0 e a nova é 1.0.1 então logo ele informa que esta desatualizada, então voltei a versão nova para 1.0.0 e voala, informa que esta atualizada. Lembrando que a versão não impede o script de ser autenticado. -
Gabriel, teria algum que você possa compartilhar conosco? Não precisa ser um advanced etc.. um simples para contribuir com a comunidade.
-
EXPOSIÇÃO DE VEÍCULOS / CARROS / MOTOS O QUE QUISER E FIXO
Hideki postou um tópico no fórum em FiveM Scripts
Olá a todos! Segue script para colocar o veículo em exposição em local fixo, pode escolher a cor de cada carro: ----------------------------------------------------------------- -- CARROS FIXOS ----------------------------------------------------------------- local vehs = { [1] = { ["model"] = "TESROAD20", ["name"] = "TESROAD20", ['x'] = -614.61, ['y'] = -1104.13, ['z'] = 22.33, ['h'] = 272.13, ['color'] = {0, 0, 0} }, -- Adicionei um campo 'color' para representar a cor [2] = { ["model"] = "coquette4", ["name"] = "coquette4", ['x'] = -613.92, ['y'] = -1114.24, ['z'] = 22.33, ['h'] = 272.13, ['color'] = {0, 0, 0} }, [4] = { ["model"] = "italirsx", ["name"] = "italirsx", ['x'] = -615.36, ['y'] = -1130.64, ['z'] = 22.33, ['h'] = 272.13,['color'] = {0, 0, 0} }, [5] = { ["model"] = "teslapd", ["name"] = "teslapd", ['x'] = -604.87, ['y'] = -1116.07, ['z'] = 22.33, ['h'] = 178.59, ['color'] = {0, 0, 0} }, [6] = { ["model"] = "amarok", ["name"] = "amarok", ['x'] = -605.15, ['y'] = -1128.16, ['z'] = 22.33, ['h'] = 0.0, ['color'] = {0, 0, 0} }, [7] = { ["model"] = "r1", ["name"] = "r1", ['x'] = -604.63, ['y'] = -1106.5, ['z'] = 22.33, ['h'] = 181.42, ['color'] = {0, 0, 0} }, [8] = { ["model"] = "xj6", ["name"] = "xj6", ['x'] = -605.18, ['y'] = -1135.8, ['z'] = 22.33, ['h'] = 0.0, ['color'] = {0, 0, 0} }, [9] = { ["model"] = "r1250", ["name"] = "r1250", ['x'] = -604.93, ['y'] = -1142.52, ['z'] = 22.33, ['h'] = 0.0, ['color'] = {0, 0, 0} }, [10] = { ["model"] = "lamborghinihuracan", ["name"] = "lamborghinihuracan", ['x'] = -614.23, ['y'] = -1141.96, ['z'] = 22.33, ['h'] = 272.13, ['color'] = {0, 0, 0} }, [11] = { ["model"] = "openwheel2", ["name"] = "openwheel2", ['x'] = -613.61, ['y'] = -1109.02, ['z'] = 22.33, ['h'] = 269.3, ['color'] = {0, 0, 0} }, [12] = { ["model"] = "openwheel2", ["name"] = "openwheel2", ['x'] = -614.01, ['y'] = -1136.4, ['z'] = 22.33, ['h'] = 272.13, ['color'] = {0, 0, 0} }, [13] = { ["model"] = "openwheel2", ["name"] = "openwheel2", ['x'] = -614.01, ['y'] = -1136.4, ['z'] = 22.33, ['h'] = 272.13, ['color'] = {0, 0, 0} }, } Citizen.CreateThread(function() for i = 1, #vehs do if vehs[i] then local carmodel = GetHashKey(vehs[i].model) if not IsModelInCdimage(carmodel) or not IsModelValid(carmodel) then goto continue end RequestModel(carmodel) local timeout = 5000 while not HasModelLoaded(carmodel) do Wait(0) timeout = timeout - 1 if timeout <= 0 then goto continue end end local vehicle = CreateVehicle(carmodel, vehs[i].x, vehs[i].y, vehs[i].z -1, vehs[i].h, false, false) if DoesEntityExist(vehicle) then FreezeEntityPosition(vehicle, true) SetEntityInvincible(vehicle, true) SetVehicleCanBreak(vehicle, false) SetVehicleDoorsLocked(vehicle, 3) SetVehicleNumberPlateText(vehicle, "CONCE") SetEntityAsMissionEntity(vehicle, true, true) local rgbColor = vehs[i].color or {0, 0, 0} local color = RGBToHex(rgbColor[1], rgbColor[2], rgbColor[3]) SetVehicleCustomPrimaryColour(vehicle, color) SetVehicleCustomSecondaryColour(vehicle, color) end ::continue:: end end end) function RGBToHex(r, g, b) return tonumber(string.format("%02X%02X%02X", r, g, b), 16) end -
Olá a todos! Segue o script: RegisterCommand("sos",function(source) local user_id = vRP.getUserId(source) if vRPclient.getHealth(source) <= 101 then local medicos = vRP.getUsersByPermission("ems.permissao") if #medicos < 1 then TriggerClientEvent("resetBleeding",source) TriggerClientEvent("resetDiagnostic",source) TriggerClientEvent("vrp_tela:revive",source) TriggerClientEvent('vrp_tela:fechar',source) vRPclient.killGod(source) vRPclient.setHealth(source,400) vRP.varyThirst(source,-15) vRP.varyHunger(source,-15) TriggerClientEvent("Notify",source,"sucesso","Você foi reanimado!",2000) else TriggerClientEvent("Notify",source,"importante","Impossivel, há medicos na cidade!",4000) end end end)
-
Olá a todos! Segue o script para você colocar o DrawText com emoji DrawTextEmoji(search.x, search.y, search.z-0.3,"💰") -- COLOCAR SEU EMOJI DENTRO DA STRING ----------------------------------------------------------------------------------------------------------------------------------------- -- DRAW TEXT EM 3D ----------------------------------------------------------------------------------------------------------------------------------------- function DrawTextEmoji(x,y,z,text) local onScreen,_x,_y = World3dToScreen2d(x,y,z) SetTextFont(4) SetTextScale(0.35,0.35) SetTextEntry("STRING") SetTextCentre(1) AddTextComponentString(text) DrawText(_x,_y) end
-
Olá a todos! Segue o código: local garagens = { { 213.90,-809.08,31.01}, { 596.69,91.42,93.12}, { 275.41,-345.24,45.17}, { 56.08,-876.53,30.65}, { -348.95,-874.39,31.31}, { -340.64,266.31,85.67}, { -773.59,5597.57,33.60}, { 317.17,2622.99,44.45}, { 459.6,-986.55,25.7}, { -1184.93,-1509.98,4.64}, { -73.32,-2004.20,18.27} } Citizen.CreateThread(function() while true do local ped = PlayerPedId() local x,y,z = table.unpack(GetEntityCoords(ped)) if z < -110 then if IsPedInAnyVehicle(ped) then -- vSERVER.deleteVeh(GetVehiclePedIsIn(ped)) -- COLOCAR SUA FUNÇÃO DE DELETAR O VEICULO E PASSAR O VALOR: GetVehiclePedIsIn(ped) teleportPlayerProxmityCoords(x,y,z) TriggerEvent('Notify', 'negado', 'Você caiu no limbo com seu veiculo e foi teleportado para a garagem mais proxima.', 5) end end Citizen.Wait(1000) end end) function teleportPlayerProxmityCoords(x,y,z) local array = {} local coordenadas = {} for k,v in pairs(garagens) do local distanceAtual = parseInt(Vdist2(v[1],v[2],v[3], td(x),td(y),td(z))) table.insert(array, distanceAtual) coordenadas[distanceAtual] = { x = v[1], y = v[2], z = v[3] } end if coordenadas[math.min(table.unpack(array))] then SetEntityCoords(PlayerPedId(),coordenadas[math.min(table.unpack(array))].x,coordenadas[math.min(table.unpack(array))].y,coordenadas[math.min(table.unpack(array))].z) end end function td(n) n = math.ceil(n * 100) / 100 return n end
-
Olá a todos! + Fix para o famoso bonecao de posto dos peds, obviamente os Lods de todos os modelos são necessários, mas caso queira evitar e não seja necessário a criação de VLOW como vejo algumas pessoas fazendo. Apenas troque o SuperLodType do modelo. + Fix the peds lod, obviously, the Lods of all models are proposed, but if you want to avoid it. Just change the model's SuperLodType PROCURE: Altere Para
-
Olá a todos! Segue uma query para você alterar o auto_increment, ele funciona assim, se alguem criar uma conta o DYNAMIC vai sempre subindo, se for 1, o próximo será 2, basta você alterar o DYNAMIC para FIXED que sempre vai ser acima daquela quantidade. ALTER TABLE vrp_users AUTO_INCREMENT=300;
-
Olá a todos! Vá no arquivo: vrp/client/base.lua e coloque o código abaixo. ----------------------------------------------------------------------------------------------------------------------------------------- -- REMOVE MUSIC ----------------------------------------------------------------------------------------------------------------------------------------- Citizen.CreateThread(function() 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)
-
Olá a todos! Segue script para alterar a placa do carro. -------------------------------------------------------------------------------------------------------------- -- Prepare -------------------------------------------------------------------------------------------------------------- vRP._prepare("vRP/update_registration","UPDATE vrp_user_identities SET registration = @registration WHERE user_id = @user_id") vRP._prepare("getPlateUser","SELECT * FROM vrp_user_identities WHERE registration = @registration") ------------------------------------------------------------------------------------------------------------- --- Placa Personalizada ------------------------------------------------------------------------------------------------------------- RegisterCommand("placa",function(source,args,rawCommand) local source = source local user_id = vRP.getUserId(source) if vRP.hasPermission(user_id, "admin.permissao") then local placa = vRP.prompt(source, "Nova Placa para cadastro?(8 Digitos)", "") local placa2 = sanitizeString(placa,"abcdefghijklmnopqrstuvwxyz0123456789",true) if placa2 == "" or string.len(placa2) ~= 8 then TriggerClientEvent('Notify',source,'aviso','Valor inválido, no máximo 8 carácteres',5000) return end local rows2 = vRP.query("getPlateUser",{ registration = placa }) if #rows2 == 0 then vRP.execute("vRP/update_registration",{ user_id = user_id, registration = placa }) TriggerClientEvent("Notify",source,"sucesso","<b>Placa Modificada</b> com sucesso, favor relogar.",8000) ----vRP.removeUserGroup(user_id,"Placa") else TriggerClientEvent("Notify",source,"negado","<b>Já</b> Existe uma placa essa descrição.",8000) end end end)
-
Olá a todos! Segue animações do TIKTOK para sua cidade. { nome = "tiktok1" , anim = "floss" , dict = "custom@floss" , andar = false , loop = true }, { nome = "tiktok2" , anim = "dont_start" , dict = "custom@dont_start" , andar = false , loop = true }, { nome = "tiktok3" , anim = "orangejustice" , dict = "custom@orangejustice" , andar = false , loop = true }, { nome = "tiktok4" , anim = "renegade" , dict = "custom@renegade" , andar = false , loop = true }, { nome = "tiktok5" , anim = "rickroll" , dict = "custom@rickroll" , andar = false , loop = true }, { nome = "tiktok6" , anim = "savage" , dict = "custom@savage" , andar = false , loop = true }, { nome = "tiktok7" , anim = "sayso" , dict = "custom@sayso" , andar = false , loop = true }, { nome = "tiktok8" , anim = "take_l" , dict = "custom@take_l" , andar = false , loop = true }, { nome = "tiktok9" , anim = "toosie_slide" , dict = "custom@toosie_slide" , andar = false , loop = true }, { nome = "tiktok10" , anim = "low_left_up" , dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@" , andar = false , loop = true }, { nome = "tiktok11" , anim = "ped_a_dance_idle" , dict = "anim@amb@nightclub@mini@dance@dance_paired@dance_f@" , andar = false , loop = true }, { nome = "tiktok12" , anim = "ped_b_dance_idle" , dict = "anim@amb@nightclub@mini@dance@dance_paired@dance_f@" , andar = false , loop = true }, { nome = "tiktok13" , anim = "ped_a_dance_idle" , dict = "anim@amb@nightclub@mini@dance@dance_paired@dance_h@" , andar = false , loop = true }, { nome = "tiktok14" , anim = "ped_b_dance_idle" , dict = "anim@amb@nightclub@mini@dance@dance_paired@dance_h@" , andar = false , loop = true }, { nome = "tiktok15" , anim = "ped_a_dance_idle" , dict = "anim@amb@nightclub@mini@dance@dance_paired@dance_j@" , andar = false , loop = true }, { nome = "tiktok16" , anim = "ped_a_dance_idle" , dict = "anim@amb@nightclub@mini@dance@dance_paired@dance_m@" , andar = false , loop = true }, { nome = "tiktok17" , anim = "hi_idle_a_f02" , dict = "anim@amb@nightclub_island@dancers@club@" , andar = false , loop = true }, { nome = "tiktok18" , anim = "mi_idle_b_f02" , dict = "anim@amb@nightclub_island@dancers@club@" , andar = false , loop = true }, { nome = "tiktok19" , anim = "crowd_invitation" , dict = "anim@mp_player_intcelebrationfemale@crowd_invitation" , andar = false , loop = true }, { nome = "tiktok20" , anim = "driver" , dict = "anim@mp_player_intcelebrationfemale@driver" , andar = false , loop = true }, { nome = "tiktok21" , anim = "shooting" , dict = "anim@mp_player_intcelebrationfemale@shooting" , andar = false , loop = true }, { nome = "tiktok22" , anim = "suck_it" , dict = "anim@mp_player_intcelebrationmale@suck_it" , andar = false , loop = true }, { nome = "tiktok23" , anim = "idle_a" , dict = "anim@mp_player_intuppercrowd_invitation" , andar = false , loop = true }, { nome = "tiktok24" , anim = "idle_a" , dict = "anim@mp_player_intuppershooting" , andar = false , loop = true }, { nome = "tiktok25" , anim = "idle_a" , dict = "anim@mp_player_intuppersuck_it" , andar = false , loop = true },
-
Olá a todos! Com esse script você não consegue atirar dentro do carro e poderá permitir qual veiculo poderá, exemplo helicóptero da policia. Citizen.CreateThread(function() while true do Citizen.Wait(1000) local ped = PlayerPedId() if IsPedInAnyVehicle(ped) then -- BLOQUEIA QUALQUER ARMA DE ATIRAR SetPlayerCanDoDriveBy(PlayerId(),false) local vehicle = GetVehiclePedIsIn(ped) local speed = GetEntitySpeed(vehicle)*3.6 -- CONDIÇÃO P2 if GetPedInVehicleSeat(vehicle,0) == ped then if GetSelectedPedWeapon(ped) == GetHashKey("WEAPON_STUNGUN") or GetSelectedPedWeapon(ped) == GetHashKey("WEAPON_UNARMED") then SetPlayerCanDoDriveBy(PlayerId(),true) end elseif GetPedInVehicleSeat(vehicle,-1) == ped then if speed <= 70 then if GetSelectedPedWeapon(ped) == GetHashKey("WEAPON_STUNGUN") or GetSelectedPedWeapon(ped) == GetHashKey("WEAPON_UNARMED") then SetPlayerCanDoDriveBy(PlayerId(),true) end end else if IsVehicleModel(GetVehiclePedIsUsing(ped),GetHashKey("policiaheli")) then SetPlayerCanDoDriveBy(PlayerId(),true) end end end end end)
-
Olá a todos! Deixo aqui um script de autenticação avançado. -------------------------------------------------------------------------------------------------------------------------------------- --VERIFICAÇÃO ------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- local auth = false local ip local dono = '#' local FalhaAuthWebhook = "#" local startWebhook = "#" function SendWebhookMessage(webhook,message) if webhook ~= nil and webhook ~= "" then PerformHttpRequest(webhook, function(err, text, headers) end, 'POST', json.encode({content = message}), { ['Content-Type'] = 'application/json' }) end end AddEventHandler("onResourceStart",function(resourceName) if GetCurrentResourceName() == resourceName then PerformHttpRequest("[Conteúdo oculto]",function(errorCode1, resultData1, resultHeaders1) PerformHttpRequest("[Conteúdo oculto]",function(errorCode, resultData, resultHeaders) print("\27[33m ["..GetCurrentResourceName().."] Autenticando...") Wait(1000) local data = json.decode(resultData1) ip = resultData if ip == nil then while ip == nil do print("\27[33m ["..GetCurrentResourceName().."] Houve uma falha na autenticacao. Tentando novamente...") PerformHttpRequest("[Conteúdo oculto]",function(errorCode3, resultData3, resultHeaders3) ip = resultData3 end) Wait(2000) end end for k,v in pairs(data) do if k == GetCurrentResourceName() then for a,b in pairs(v) do if ip == b then print("\27[32m ["..GetCurrentResourceName().."] Foi autenticado | Para suporte favor entrar em contato com #") SendWebhookMessage(startWebhook,"```prolog\n[SCRIPT STARTADO] "..os.date("\n[Data]: %d/%m/%Y [Hora]: %H:%M:%S").. "\n[DONO]: "..dono.."\n[IP]: "..ip.." [Script: "..GetCurrentResourceName().."]\r```") auth = true startServer() return end end end end SendWebhookMessage(FalhaAuthWebhook,"```prolog\n[DENUNCIA DE VAZAMENTO] "..os.date("\n[Data]: %d/%m/%Y [Hora]: %H:%M:%S").. "\n[DONO]: "..dono.."\n[INFRATOR]: "..ip.." [Script: "..GetCurrentResourceName().."]\r```") print("\27[31m ["..GetCurrentResourceName().."] O uso nao foi autorizado, favor entrar em contato com #") while true do PerformHttpRequest("[Conteúdo oculto]",function(errorCode1, resultData1, resultHeaders1)end) print("\27[31m ["..GetCurrentResourceName().."] O uso nao foi autorizado, favor entrar em contato com #") end end) end) end end) function sRP.checkAuth() return auth end
-
Esse tipo de erro ocorre em alguma consulta/insert/update de alguma query em algum script que você mexeu. E como o processo é realizado pelo oxmysql ele acusa nesse script, devido ser uma query, portanto será necessário investigar suas edições, como eu disse o último arquivo que você editou. De qualquer modo me coloco a disposição para tentar te ajudar via AnyDesk e voltamos aqui com a solução.
-
Qual a sua framework? qual a sua base? coloque aqui também o seu oxmysql/server.lua e o ultimo arquivo que você editou antes do erro aparecer. Utilize o: [Conteúdo oculto]
-
Procure um arquivo client.lua e adicione o código abaixo, basta ficar no ponto do TREM que ele vem. ---------------------------------------------------------------------------------- --- ATIVAR O TREM ---------------------------------------------------------------------------------- Citizen.CreateThread(function() SwitchTrainTrack(0, true) SwitchTrainTrack(3, true) N_0x21973bbf8d17edfa(0, 120000) SetRandomTrains(true) end)
-
ws-farm da WISE RESOURCE com problema no craft
Hideki respondeu ao tópico de Yohan SCaramal em Ajuda & Suporte - Bugs e Correções
Opa, seja bem vindo! Segue a correção: basta você trocar as linhas do seu core.lua por esse: GetBackPack = function(user_id) -- CORRIGIDO return vRP.getInventoryMaxWeight(user_id) end GetInvWeight = function(user_id) -- CORRIGIDO return vRP.getInventoryWeight(user_id) end GetItemWeight = function(item) -- CORRIGIDO return vRP.getItemWeight(item) end HasPermission = function(user_id,perm) return vRP.hasPermission(user_id,perm) end -
Como mudar a logo da base academy da WORK STORE
Hideki respondeu ao tópico de Jota em Ajuda & Suporte - Bugs e Correções
Olá! Você precisa ir na pasta > RESOURCE> [resource] > procure vrp_hud. Depois entre na pasta web e procure index.html, logo você vai ver uma url com final PNG com link do discord, altere essa url/imagem e pronto. -
Olá a todos! Abaixo vou tentar explicar a vocês como fazer uma consulta rápido e otimizada na sua cidade, primeiro de tudo você precisa entende que um SELECT no banco de dados grande tem um enorme impacto, pois ele vai consultar ou TUDO ou de forma objetiva. Primeira coisa que você deve fazer é aprender o que é um INDEX de valor de consulta, vou explicar: Eu tenho uma tabela chamada vrp_users e nela eu tenho a coluna ID, então quando eu envio um SELECT para VRP_USERS para consultar algum ID, se tiver ali uns 1000 ID, estou falando para o SQL, (OLHA, EU TENHO 1000 ID, ACHA ELE LÁ DENTRE TODOS ESSES AI E ME FALA O VALOR BLZ?) assim que funciona. Quando você FAZ UM INDEX, você faz com que a query seja memorizada e a consulta otimizada, pois ele sabe exatamente onde esta aquele ID, então a consulta vai ser muito rápida, deu para entender? Para criar o INDICE/INDEX da minha tabela coluna ID eu vou fazer o seguinte: CREATE INDEX id_index ON vrp_users (id); Com essa query eu vou enviar para o meu design_table que eu quero que seja salvo todos os meus ID, veja o resultado da query abaixo: ANTES: 182ms AGORA: 0,124ms Agora que o erro não vai aparecer devido a correção da query, você pode ver o ganho de consulta direta que fiz ao banco de dados. Créditos: HIDEKI
-
Olá a todos! Uma simples informação que facilita bastante para implementar um novo veiculo: 1º BUSCAMOS: { ['name'] = "nomedoveiculo", ['hash'] = 2009693397, ['banned'] = false }, 2º ALTEREMOS PARA: { ['name'] = "nomedoveiculo", ['hash'] = GetHashKey('nomedoveiculo'), ['banned'] = false },
-
SISTEMA DE AUTENTICAÇÃO PARA FIVEM - STANDALONE
Hideki postou um arquivo em em FiveM Scripts & Sistemas
Versão 1.0.0 Downloads 34 Tamanho 2.97 kBOlá a todos! Segue um sistema para autenticar o seu script, versão da VIEIRA STORE. vsAuth A autenticação não é totalmente segura! Ela está em um script startavel somente para testes, caso queira colocar em outro script é somente copiar o código que pode ser encontrado no vs-server.lua Recomendo ofuscar o código para a pessoa não ir lá e simplesmente trocar o IP para o dela. Framework: STANDALONE Developed by: Vieira's Store