GetValueString (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
Redirect to GetValueString (Function)
>Emess
No edit summary
Line 1: Line 1:
#REDIRECT [[GetValueString (Function)]]
{{Locked}}
 
<onlyinclude>{{Method
|name        = GetValueString
|returns    = [[String]] ''value''
|description = Returns the [[StatsItem|StatsItems's]] value.  Its value cannot be read unless this function is used.
|object      = StatsItem
|protected  = yes
}}</onlyinclude>
 
{{clear floats}}
 
{{Example|
If using the [[Command Bar]] or a [[CoreScript]]...
<pre>
print(game.Stats.Workspace.World.Joints:GetValueString()) --> 7
</pre>
If using a [[Script]] or [[LocalScript]]...
<pre>
print(game.Stats.Workspace.World.Joints:GetValueString()) --> s GetValueString
</pre>
}}
 
[[Category:Methods]]

Revision as of 15:17, 21 May 2011

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
GetValueString( )
Returns String value
Description: Returns the StatsItems's value. Its value cannot be read unless this function is used.
Member of: StatsItem


Example

If using the Command Bar or a CoreScript...

print(game.Stats.Workspace.World.Joints:GetValueString()) --> 7

If using a Script or LocalScript...

print(game.Stats.Workspace.World.Joints:GetValueString()) --> s GetValueString