Line 9: | Line 9: | ||
}} | }} | ||
− | {{ScriptFunction|void|JoinGroup|(int groupID, bool <nowiki>force = false</nowiki>)| | + | {{ScriptFunction|void|JoinGroup|(int groupID, bool <nowiki>force = false</nowiki>)|Shows player a prompt to join specified group. If force is true, the user will not be shown a prompt. (force parameter is white-label only)|5=<pre>Space.Groups.JoinGroup(675)</pre>|6=<pre></pre> |
}} | }} | ||
− | {{ScriptFunction|void|LeaveGroup|(int groupID, bool <nowiki>force = false</nowiki>)| | + | {{ScriptFunction|void|LeaveGroup|(int groupID, bool <nowiki>force = false</nowiki>)|Shows player a prompt to leave specified group. If force is true, the user will not be shown a prompt. (force parameter is white-label only)|5=<pre>Space.Groups.LeaveGroup(675)</pre>|6=<pre></pre> |
}} | }} | ||
Whether is a member of this group.
IsMember = Space.Groups.IsMemberOf(675)
Get the group info by groupID.
groupInfo = Space.Groups.GetGroupInfo(675)
Shows player a prompt to join specified group. If force is true, the user will not be shown a prompt. (force parameter is white-label only)
Space.Groups.JoinGroup(675)
Shows player a prompt to leave specified group. If force is true, the user will not be shown a prompt. (force parameter is white-label only)
Space.Groups.LeaveGroup(675)
Return an array with all the groups this player is a member of
groups = Space.Groups.Membership
|