LookFromString
A look’s one line back into its table.
Syntax
Section titled “Syntax”LookFromString(text)| Parameter | Type | |
|---|---|---|
text |
string | kind=name pairs separated by ; (gender=female for a woman’s) |
Returns
Section titled “Returns”table - {body, head, hair, beard, gender}
Example
Section titled “Example”function OnServerEvent(name, payload) if name == "creator" then open(LookFromString(payload)) end -- the mode sends the saved lookendSee also
Section titled “See also”LookToString · the Looks and the character creator group of the index
