Neler yeni

Foruma hoş geldin, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

Türkiye'nin İlk ve tek FiveM forum adresi

Forum adresimize hoş geldin FiveMTürk olarak amacımız siz değerli kullanıcılarımıza en aktif fikir ve paylaşım platformu sunmak bir yana en güvenilir şekilde alışveriş yapabileceğiniz bir platform sunmaktır.
DF DF
DF DF
DF DF

Yardım Disc-inventoryhud Üst Arama Sorunu (Video)

trickgodd

Üye
FT Kullanıcı
Katılım
4 yıl 28 gün
Mesajlar
124

Bu Sorun İle Alakalı Bilgisi Olan Varmıdır ?
 
TriggerServerEvent("disc-inventoryhud:search", GetPlayerServerId(player), GetPlayerName(player))


bunu kullanıp dener misiniz?
 
aynı hata bendede var yere eşya koyuncada oluyor bu
 
TriggerServerEvent("disc-inventoryhud:search", GetPlayerServerId(player), GetPlayerName(player))


bunu kullanıp dener misiniz?
Kod:
RegisterNetEvent('disc-inventoryhud:steal') ***<<<<<<<< this is the steal faunction***
AddEventHandler('disc-inventoryhud:steal', function()
    local player = ESX.GetPlayerData()
        local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
        if closestPlayer ~= -1 and closestDistance <= 3.0 then
            local searchPlayerPed = GetPlayerPed(closestPlayer) <<<<<<<< is it normal that this is called as search, not steal ??
            if IsEntityPlayingAnim(searchPlayerPed, 'missminuteman_1ig_2', 'handsup_enter', 3) or IsEntityDead(searchPlayerPed) or GetEntityHealth(searchPlayerPed) <= 0 then <<< same here
                ESX.TriggerServerCallback('disc-inventoryhud:getIdentifier', function(identifier)
                    secondarySearchInventory.owner = identifier <<< and here
                    openInventory(secondarySearchInventory) <<< here too
                end, GetPlayerServerId(closestPlayer))
            end
        end
end)

RegisterNetEvent('disc-inventoryhud:search')
AddEventHandler('disc-inventoryhud:search', function()
    local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
    if closestPlayer ~= -1 and closestDistance <= 3.0 then
        local searchPlayerPed = GetPlayerPed(closestPlayer)
        if IsEntityPlayingAnim(searchPlayerPed, 'mp_arresting', 'idle', 3) and not IsPedArmed(closestPlayer,7) then
            ESX.TriggerServerCallback('disc-inventoryhud:getIdentifier', function(identifier)
                secondaryStealInventory.owner = identifier <<<< and here is steal not search
                openInventory(secondaryStealInventory) <<<< here too
            end, GetPlayerServerId(closestPlayer))
        end
    end
end)

Şöyle birşey buldum bir discord adresinde etkisi olurmu ?
 
TriggerServerEvent("disc-inventoryhud:search", GetPlayerServerId(player), GetPlayerName(player))


bunu kullanıp dener misiniz?
Kod:
RegisterNetEvent('disc-inventoryhud:steal') ***<<<<<<<< this is the steal faunction***
AddEventHandler('disc-inventoryhud:steal', function()
    local player = ESX.GetPlayerData()
        local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
        if closestPlayer ~= -1 and closestDistance <= 3.0 then
            local searchPlayerPed = GetPlayerPed(closestPlayer) <<<<<<<< is it normal that this is called as search, not steal ??
            if IsEntityPlayingAnim(searchPlayerPed, 'missminuteman_1ig_2', 'handsup_enter', 3) or IsEntityDead(searchPlayerPed) or GetEntityHealth(searchPlayerPed) <= 0 then <<< same here
                ESX.TriggerServerCallback('disc-inventoryhud:getIdentifier', function(identifier)
                    secondarySearchInventory.owner = identifier <<< and here
                    openInventory(secondarySearchInventory) <<< here too
                end, GetPlayerServerId(closestPlayer))
            end
        end
end)

RegisterNetEvent('disc-inventoryhud:search')
AddEventHandler('disc-inventoryhud:search', function()
    local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
    if closestPlayer ~= -1 and closestDistance <= 3.0 then
        local searchPlayerPed = GetPlayerPed(closestPlayer)
        if IsEntityPlayingAnim(searchPlayerPed, 'mp_arresting', 'idle', 3) and not IsPedArmed(closestPlayer,7) then
            ESX.TriggerServerCallback('disc-inventoryhud:getIdentifier', function(identifier)
                secondaryStealInventory.owner = identifier <<<< and here is steal not search
                openInventory(secondaryStealInventory) <<<< here too
            end, GetPlayerServerId(closestPlayer))
        end
    end
end)

Şöyle birşey buldum bir discord adresinde etkisi olurmu ?
büyük ihtimalle olur, deneyin
 
TriggerServerEvent("disc-inventoryhud:search", GetPlayerServerId(player), GetPlayerName(player))


bunu kullanıp dener misiniz?

büyük ihtimalle olur, deneyin
bunları yapınca komutlar çalışmaz hale geliyor
 
up
 
O Şekilde Oluyor Onun Farkındayım Onu Es Geçtim. Fakat Ölü Birini Lootlarken Sorun Oluyor Bu Seferde
Karşıdakine open inventory atın ve close yapın böylece çözülür
 
onu nasıl yapıcaz
 
aynı şekilde bende yapamadım
 
up
 

Forumdan daha fazla yararlanmak için giriş yapın yada üye olun!

Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!

Kayıt ol

Forumda bir hesap oluşturmak tamamen ücretsizdir.

Şimdi kayıt ol
Giriş yap

Eğer bir hesabınız var ise lütfen giriş yapın

Giriş yap

Bu konuyu görüntüleyen kullanıcılar

Tema düzenleyici

Tema özelletirmeleri

Granit arka planlar

Lütfen Javascript'i etkinleştirin!Javascript'i etkinleştirin!