• Serverınızın epinlerini tamamen Turkmmo güvencesiyle satın. Kredi kartı, mobil ödeme, havale/eft ve uygun komisyon oranıyla. Hemen mağaza başvurunuzu yapın. Oyunalisveris.com
Sitemize reklam vermek için [email protected] adresine mail atabilirsiniz
Kaynak ikonu

[C++][Lua] A function that assumes items and a start game 1

indirmek için izniniz yok

Alerinos

Level 1
Receive items the first time you log in to the server.
Contains the lua function in C ++ and the quest.
This function allows you to receive the item and put it on. If you want to use it elsewhere, remember to check if the user has the equipment on.



Settings
Kod:
local item = {
  ['all'] = {  -- Items for everyone
    {ITEM_ID, COUNT}, -- count OR "EQ" If I give EQ, the item will be put on the character
  },
  [1] = {       -- Warrior
    {ITEM_ID, ITEM_ID},   -- Put on
    {ITEM_ID, ITEM_ID}    -- Equipment
  },
  [2] = {       -- Ninja
    {ITEM_ID, ITEM_ID},   -- Put on
    {ITEM_ID, ITEM_ID}    -- Equipment
  },
  [3] = {       -- Sura
    {ITEM_ID, ITEM_ID},   -- Put on
    {ITEM_ID, ITEM_ID}    -- Equipment
  },
  [4] = {       -- Shaman
    {ITEM_ID, ITEM_ID},   -- Put on
    {ITEM_ID, ITEM_ID}    -- Equipment
  }
}
Also you can add
Kod:
ds.give_qualification()     -- Alchemy
horse.set_level(1)          -- Horse level
pc.set_skill_level(122, 2)  -- Gives 2 combos
pc.set_skill_level(131, 10) -- Summon a horse
horse.ride()
Notification
Kod:
chat("Have a nice game!")
Do you need a quest, system or www? Write to me, I can create everything. (Full STACK, Web (PHP, JS, SQL, HTML, CSS), Server (C ++, Python, Lua))
Discord Alerin#5559
 
Konu Sahibi
Konu Sahibi

Alerinos

Level 1
item pointer, example:
item.select_cell(201)
and
item.set_value(bonus_id, bonus_name, value)
example
item.set_value(1, 22, 500)
 

Şu an konuyu görüntüleyenler (Toplam : 1, Üye: 0, Misafir: 1)

Üst