Jump to content
3 votes
Guests cannot vote

LuaAPI (party)

  • Views: 88
  • Submitted:
Quote

 

------------------------------------------------------------------
-- Party Namespace
------------------------------------------------------------------

Party = {}

---@param iPartyNumber integer Party number
---@return integer Member count
function Party.GetCount(iPartyNumber) end

---@param iPartyNumber integer Party number
---@param iArrayIndex integer Array index (1=leader, 2-5=members)
---@return integer Player index
function Party.GetMember(iPartyNumber, iArrayIndex) end

 

I would like to suggest add 2 extra function.
1) Function Party.DelMember - Gives the ability to delete a member from the party.
2) Function Party.ChangePartyLeader - Gives ability to change party leader

Edited by Shanahan
Added 2nd function

User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...

Important Information


We use technologies, such as cookies, to customize content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy.