CreateLocalPlayer (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
CreateLocalPlayer uses the authentication ticket, not userId
>JulienDethurens
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{protected}}
<onlyinclude>{{Method
<onlyinclude>{{Method
|name = CreateLocalPlayer
|name = CreateLocalPlayer
|arguments = [[Integer]] ''ticket''
|protected=yes
|arguments = [[int]] <var>userId</var>
|returns = [[Player]]
|returns = [[Player]]
|description = Used by the game to create the [[LocalPlayer]].
|description = Used by the game to create the [[LocalPlayer]].

Latest revision as of 06:57, 26 January 2012

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
CreateLocalPlayer( int userId )
Returns Player
Description: Used by the game to create the LocalPlayer.
Member of: Players