• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Party Members? How can i count Leader too?

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
200
HI! I'm using tfs 1.2!
I have 3 player in my party. (leader + 2 players). But this script print only 2... (They dont count the party leader!)
How do I get the Party Leader also included? I want get all players in party, inclusive the leader! I need it print 3 members. (because Have in party a leader + 2 players)

Lua:
        local party = player:getParty()
        if party then
            print(party:getMemberCount())
            print(#party:getMembers())
        end
 
Back
Top