Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->

Forumumuza Hoş geldiniz!

Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5



DİSC-İNVENTORYHUD

#1

vorp inventoryhud'dur içinde cok fazla bug bulunuyor ve ben size nasıl fixleyeceğinizi detaylı birşekilde anlatıcam (sadece bildiklerimi)


GEREKENLER

 *disc-base

  *disc-ammo (cok onemli değil ama siz yinede kurun)

 *disc-inventoryhud


ilk başta resurces klasorunuze girip verdiğim [disc] klasörünü atın ve ardından içindeki sql'leri okutun

ardından disc-iventoryhud/server/stlash.lua ya girip vericeğim kod satırını ekleyin


Kod:
Citizen.CreateThread(function()
    TriggerEvent('disc-inventoryhud:RegisterInventory', {
        name = 'motel',
        label = 'Motel',
        slots = 80
    })
end)


ardından lsrp motele girip trigereventleri düzenleyeceğiz

  ORNEK KOD SATIRI

Kod:
function OpenPropertyInventoryMenu(property, owner)
    ESX.TriggerServerCallback(
        "lsrp-motels:getPropertyInventory",
        function(inventory)
            TriggerEvent("disc-inventoryhud:openMotelInventory", inventory)
        end, owner)
end


Kod:
TriggerEvent('disc-inventoryhud:openInventory', {


theif içinde aynı şekilde trigereventleri değiştirseniz cogu şey ile sorunsuz olarak çalışacaktır .


Linkleri görebilmek için Üye Olun veya Giriş Yapın.


Teşekkür verenler:


Hızlı Menü:

Şu anda bu konuyu okuyanlar:


1 Ziyaretçi

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping