PlayerFromCharacter (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Pighead10
No edit summary
>Pighead10
it's not deprecated, oops
Line 1: Line 1:
 
<onlyinclude>{{Function
{|
|name                  = PlayerFromCharacter
|<onlyinclude>
{{Function|
name                  = PlayerFromCharacter
|arguments            = [[Instance]] ''character''
|arguments            = [[Instance]] ''character''
|returns              = [[RBX.lua.Player (Object)|Player]] object which is controlling the character.
|returns              = [[RBX.lua.Player (Object)|Player]] object which is controlling the character.
|description          = Gives you the player from that player's character.  
|description          = Gives you the player from that player's character.  
|object              = [[RBX.lua.Players (Service)|Players]]
|object              = [[RBX.lua.Players (Service)|Players]]
|}}</onlyinclude>
}}</onlyinclude>
|}




[[Category: Functions]]
[[Category: Functions]]

Revision as of 14:50, 24 December 2010

PlayerFromCharacter( Instance character )
Returns Player object which is controlling the character.
Description: Gives you the player from that player's character.