Paylaşım - M3_INVENTORYHUD DETAYLI LOG SISTEMI

Fivem.com.tr

Fivem.com.tr
Katılım
1 Eki 2022
Mesajlar
5,891
Tepki
80
Çoğu arkadaş m3 envanterde dupe engellemeyi sormuş. Paylaştığım logda bütün envanter ile ilgili olan işlemlerin logu bulunmakta.





KURULUM





Kod:


Kod:
local webhook_adi = "WLC Roleplay Envanter İşlemleri"
local webhook_goruntu = "" -- Webhookun profil fotoğrafıdır
local yereitemkoyma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local yerdenitemalma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local depoyaesyakoyma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local depodanesyaalma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local kisiseldepoyaesyakoyma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local kisiseldepodanesyaalma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local markettenesyaalma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local torpitoyaesyakoyma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local torpitodanesyaalma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local bagajaesyakoyma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local bagajdanesyaalma_url = "WEBHOOK" -- Webhook URLsini yapıştırın
local itemverme_url = "WEBHOOK"

local color = "00000000"

itemverme = function(name, logmesaj)
  
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(itemverme_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end

yereitemkoyma = function(name, logmesaj)
  
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(yereitemkoyma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end

yerdenitemalma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(yerdenitemalma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
depoyaesyakoyma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(depoyaesyakoyma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
depodanesyaalma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(depodanesyaalma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
kisiseldepoyaesyakoyma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(kisiseldepoyaesyakoyma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
kisiseldepodanesyaalma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(kisiseldepodanesyaalma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
markettenesyaalma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(markettenesyaalma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
torpitoyaesyakoyma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(torpitoyaesyakoyma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
torpitodanesyaalma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(torpitodanesyaalma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
bagajaesyakoyma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(bagajaesyakoyma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' })
end
bagajdanesyaalma = function(name, logmesaj)
    local icerik = {
            {
                ["color"] = color,
                ["title"] = "**".. name .."**",
                ["description"] = logmesaj,
                ["footer"] = {
                ["text"] = "WLC Log | WLC RolePlay",
                },
            }
        }
    PerformHttpRequest(bagajdanesyaalma_url, function(err, text, headers) end, 'POST', json.encode({username = webhook_adi, embeds = icerik, avatar_url = webhook_goruntu}), { ['Content-Type'] = 'application/json' }) 
end



Bu kod satırını m3_inventoryhud/server.lua'nın en altına yapıştırıp editlemeniz yeterli olacaktır.





LOGLARIN DISCORD GÖRÜNTÜSÜ :




4010-922602d603c54aa517ec4d0c91ab6f84.jpg







Destek için discord adresim = els#1339


Çocuklarımıza hayat hakkında her şeyi öğretmeye çalışırken, çocuklarımız bize hayat hakkında her şeyi öğretir. -Angela Schwindt

Konu alıntıdır, yanlış veya hatalı bir bilgi/paylaşım var ise yanıtlayabilir veya bizimle iletişime geçebilirsiniz.
 

Şu anda bu konu'yu okuyan kullanıcılar

Benzer konular

Üst