SetMembershipType (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>SCARFACIAL No edit summary |
>Nightname No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|name = SetMembershipType | |name = SetMembershipType | ||
|arguments = [[MembershipType]] ''membershipType'' | |arguments = [[MembershipType]] ''membershipType'' | ||
|description = Sets | |description = Sets the [[MembershipType (Property)|MembershipType]] to the argument. | ||
|object = Player | |object = Player | ||
|protected = Yes | |protected = Yes | ||
Line 9: | Line 9: | ||
{{clear floats}} | {{clear floats}} | ||
The SetMemberShipType method is a locked method, but allows you to set the [[MembershipType (Property)|MembershipType]] of an inputted user. | |||
{{Example|If not locked, this would set the membership to OutrageousBuildersClub: <pre> | {{Example|If not locked, this would set the membership to OutrageousBuildersClub: <pre> |
Latest revision as of 17:36, 28 March 2012
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 )