CharacterAppearance (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Flurite No edit summary |
||
Line 11: | Line 11: | ||
This property is automatically set by Roblox when player joins. | This property is automatically set by Roblox when player joins. | ||
{{Example|< | {{Example|<code lua> | ||
function onPlayerAdded(player) | function onPlayerAdded(player) | ||
player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" | player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" --the last numbers of the URI is the ID of the desired character look | ||
end | end | ||
game.Players.PlayerAdded:connect(onPlayerAdded) | game.Players.PlayerAdded:connect(onPlayerAdded) | ||
</ | </code>}} | ||
[[Category:Properties]] | [[Category:Properties]] |
Revision as of 21:16, 27 February 2012
CharacterAppearance | |
Property | Content characterAppearance |
Description | URI of the asset containing character's appearance, clothing, and gear. |
Member of | Player |
Description
This property is automatically set by Roblox when player joins.
Example
{{{1}}}