$ ABD Doları
  • $ ABD Doları
  • € AVRO
  • £ GBP
  • $ Avustralya Doları
  • R$ BRL
  • İsviçre Frangı İsviçre Frangı
  • ¥ Japon Yeni
Giysi Olarak Öğe (QBCore) - FiveMX

Giyim Eşyası (QBCore)

Bu betik, oyuncuların qbcore çerçevesini kullanarak FiveM'deki envanterlerindeki giyim eşyalarını kullanmalarına olanak tanır. Bu betikle, oyuncular birden fazla farklı giyim eşyasına sahip olabilir, diğer oyunculardan giyim eşyalarını çalabilir ve komutları ve çıkarılabilir eşyaları yapılandırabilir.

İndirmek

Komut Dosyasını Yükleme

  1. Dosyayı Yerleştirin:
    • Betik dosyasını ... koyun resources FiveM sunucunuzun klasörü.
  2. Düzenlemek server.cfg:
    • Aşağıdaki satırı ekleyin server.cfg betiği yüklemek için dosya:sqlCode kopierenstart script_name

Öğeler Ekleme

Yeni giyim eşyaları eklemek için aşağıdaki kodu ... ekleyin qb-coreshareditems.lua dosya:

-- Clothing Items<br>['torso'] = { ['name'] = 'torso', ['label'] = 'Torso', ['weight'] = 100, ['type'] = 'item', ['image'] = 'torso.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable torso item.' },<br>['tshirt'] = { ['name'] = 'tshirt', ['label'] = 'T-Shirt', ['weight'] = 100, ['type'] = 'item', ['image'] = 'tshirt.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable t-shirt item.' },<br>['arms'] = { ['name'] = 'arms', ['label'] = 'Arms', ['weight'] = 100, ['type'] = 'item', ['image'] = 'arms.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wearable arm accessories.' },<br>['jeans'] = { ['name'] = 'jeans', ['label'] = 'Jeans', ['weight'] = 100, ['type'] = 'item', ['image'] = 'jeans.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A pair of wearable jeans.' },<br>['shoes'] = { ['name'] = 'shoes', ['label'] = 'Shoes', ['weight'] = 100, ['type'] = 'item', ['image'] = 'shoes.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wearable shoes.' },<br>['bag'] = { ['name'] = 'bag', ['label'] = 'Bag', ['weight'] = 100, ['type'] = 'item', ['image'] = 'bag.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable bag accessory.' },<br>['chain'] = { ['name'] = 'chain', ['label'] = 'Chain', ['weight'] = 100, ['type'] = 'item', ['image'] = 'chain.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable chain accessory.' },<br>['mask'] = { ['name'] = 'mask', ['label'] = 'Mask', ['weight'] = 100, ['type'] = 'item', ['image'] = 'mask.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable mask.' },<br>['helmet'] = { ['name'] = 'helmet', ['label'] = 'Helmet', ['weight'] = 100, ['type'] = 'item', ['image'] = 'helmet.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable helmet.' },<br>['ears'] = { ['name'] = 'ears', ['label'] = 'Ears', ['weight'] = 100, ['type'] = 'item', ['image'] = 'ears.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wearable ear accessories.' },<br>['watches'] = { ['name'] = 'watches', ['label'] = 'Watches', ['weight'] = 100, ['type'] = 'item', ['image'] = 'watches.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wearable watches.' },<br>['glasses'] = { ['name'] = 'glasses', ['label'] = 'Glasses', ['weight'] = 100, ['type'] = 'item', ['image'] = 'glasses.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wearable glasses.' },<br>['bracelet'] = { ['name'] = 'bracelet', ['label'] = 'Bracelet', ['weight'] = 100, ['type'] = 'item', ['image'] = 'bracelet.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A wearable bracelet accessory.' },

Öğe açıklamalarını görüntülemek için aşağıdakileri ekleyin: qb-inventoryhtmljsapp.js veya envanter sisteminizdeki benzer bir dosya:

else if (itemData.name == "torso") {<br> $(".item-info-title").html("&lt;p&gt;" + itemData.label + "&lt;/p&gt;");<br> $(".item-info-description").html(<br> "&lt;p&gt;&lt;strong&gt;Id Clothe: &lt;/strong&gt;&lt;span&gt;" + itemData.info.id_clothe + "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Id Texture: &lt;/strong&gt;&lt;span&gt;" + itemData.info.id_texture + "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Description: &lt;/strong&gt;&lt;span&gt;" + itemData.info.description + "&lt;/span&gt;&lt;/p&gt;"<br> );<br>} else if (itemData.name == "tshirt") {<br> $(".item-info-title").html("&lt;p&gt;" + itemData.label + "&lt;/p&gt;");<br> $(".item-info-description").html(<br> "&lt;p&gt;&lt;strong&gt;Id Clothe: &lt;/strong&gt;&lt;span&gt;" + itemData.info.id_clothe + "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Id Texture: &lt;/strong&gt;&lt;span&gt;" + itemData.info.id_texture + "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Description: &lt;/strong&gt;&lt;span&gt;" + itemData.info.description + "&lt;/span&gt;&lt;/p&gt;"<br> );<br>} else if (itemData.name == "arms") {<br> $(".item-info-title").html("&lt;p&gt;" + itemData.label + "&lt;/p&gt;");<br> $(".item-info-description").html(<br> "&lt;p&gt;&lt;strong&gt;Id Clothe: &lt;/strong&gt;&lt;span&gt;" + itemData.info.id_clothe + "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Id Texture: &lt;/strong&gt;&lt;span&gt;" + itemData.info.id_texture + "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Description: &lt;/strong&gt;&lt;span&gt;" + itemData.info.description + "&lt;/span&gt;&lt;/p&gt;"<br> );

Giyim Eşyası

Oyuncular envanterlerindeki giyim eşyalarını kullanarak görünümlerini anında değiştirebilirler.

Çoklu Giyim Ürünleri

Birden fazla giysi taşıyın ve kıyafetlerinizi hızlı ve kolay bir şekilde değiştirin.

Giyim Eşyası Hırsızlığı

Oyuncular birbirlerinin giyim eşyalarını çalabilir, bu da daha fazla oyuncu etkileşimi sağlar.

Erkek/Kadın Uyumluluğu

Uygun giyim seçenekleriyle hem erkek hem de kadın karakterleri destekler.

Komut Yapılandırması

Yöneticiler, giysi öğelerinin giyilmesi ve çıkarılmasına ilişkin komutları özelleştirebilir.

Çıkarılabilir Öğe Yapılandırması

Yöneticiler, oyuncuların görünümlerini değiştirmek için yeni öğeler bulmalarını gerektirecek şekilde giysi öğelerinin çıkarılabilir olup olmadığını ayarlayabilir.

Bir yanıt yazın