Jump to content
  • 0

Doklady


Question

Posted

Zdravíčko, chtěl bych, když se někdo připojí na server, aby mu to dalo do invu např. ID cardu a třeba když udělá autoškolu tak by mu to dalo řidičák. Slyšel jsem že se to dá nastavit přímo v ox_inventory, který já používám, ale nenašel jsem to tam. Neporadil by někdo?

  • Like 1

1 answer to this question

Recommended Posts

  • 0
Posted

Ahoj, vim ze odepisuju hodne pozde a spis to je pro ostatni lidi co to hledaji, najdete to v ex_extended - config.lua i pri pouzivani ox_inventory ktery je kompatibilni s esx nyní. Je to na řádku:

local tableItems = {  -- nastavte jednotlive jake itemy bude mit hrac po prvnim napojeni 
    { name = "water", count = 1, slot = 1 },
    { name = "burger", count = 1, slot = 2 },
    { name = "money", count = 5000, slot = 3 }
}

Config.StartingAccountMoney = { bank = 10000 }  -- nastaveni kolik penez bude mit hrac na bankovnim uctu pri prvnim napojeni

Config.StartingInventoryItems = tableItems -- table/false  -- zde dejte tableitems aby to bylo zapnute
 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...