Jump to content

thebrickslayer

Inactive Member
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

thebrickslayer's Achievements

Newbie

Newbie (1/16)

  • First Post
  • Conversation Starter
  • Reacting Well

Recent Badges

0

Reputation

  1. To anyone having problems with the 3-4 inventory slots: make sure to recompile the game on your server using the "gamecompile" command. It may be kinda obvious to a lot of you, but it took me 6 hours to figure it out '-'.
  2. I'm trying to create a simple script that will give an item to anyone who help destroy a metin. So far the script is: quest metin_8002_killed begin state start begin when 8002.kill begin local pids = {party.get_member_pids()} for i, pid in next, pids, nil do q.begin_other_pc_block(pid) pc.give_item2(1000, 1) q.end_other_pc_block() end end end end This only works when people are in a party. If there is just one player, or more attacking, no one get anything. If I add the give_item2 before the for, only one player gets the item. what I'm trying to achieve is something like local pids = {getAllPlayerPidsThatDamagedTheMob()} is this possible?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.