Jump to content
  • 0

Getpartymember


Kakaroto

Question


  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  638
  • Reputation:   95
  • Joined:  05/11/12
  • Last Seen:  

Hello, I know that is something easy, but I wonder if it is possible to set the maximum amount of members to enter a particular map.

Type the group can only have one member in the maximum to enter.

I thank you from anyone who can help me.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

the getpartymember does return a variable named 

$@partymembercount

you can use this variable to check on the amount of party member.

Example :

if ( $@partymembercount > 1 ) {
    // your party have more than one member.
}
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  638
  • Reputation:   95
  • Joined:  05/11/12
  • Last Seen:  

 

the getpartymember does return a variable named 

$@partymembercount

you can use this variable to check on the amount of party member.

Example :

if ( $@partymembercount > 1 ) {
    // your party have more than one member.
}

 

 
 
It worked beautifully! thank you so much!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...