SetMembershipType (Method)

From Legacy Roblox Wiki
Revision as of 17:36, 28 March 2012 by >Nightname
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
SetMembershipType( MembershipType membershipType )
Returns nil
Description: Sets the MembershipType to the argument.
Member of: Player


The SetMemberShipType method is a locked method, but allows you to set the MembershipType of an inputted user.

Example
If not locked, this would set the membership to OutrageousBuildersClub:
game.Players.LocalPlayer:SetMembershipType( Enum.MembershipType.OutrageousBuildersClub )