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
https://metin2.dev/topic/11676-get-job/#findComment-67964
Share on other sites

24 minutes ago, PACI said:

Is this what you want?

 

If the picture looks
players will be based on job picture
How do I add code to the source I get this information with python
Sorry for bad english

 

4rED1A.jpg

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/11676-get-job/#findComment-67966
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.