Jump to content

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Developer

Is this what you want?

 

local party_pids = {party.get_member_pids()}
local party_jobs = {}

for i = 1, table.getn(party_pids) do
	q.begin_other_pc_block(party_pids[i])
	party_jobs[pc.get_name()] = pc.get_job()
	q.end_other_pc_block()
end

for char_name, char_job in pairs(party_jobs) do
	say(char_name.." job is "..char_job)
end

 

 

when you return 0 and server doesn't boot:

unknown.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.