Angle.__tostring
From GMod Wiki
Revision as of 15:31, 20 January 2010 by Crazy Quebecer (Talk | contribs)
Internal Function: Angle.__tostring | |
Angle.__tostring is an internal function. This means you will be able to call it, but you really shouldn't. |
Function | |
Syntax | Angle.__tostring( ) |
Description: | |
This is the function called by lua everytime you want to turn an angle into a string. This means you don't have to call it directly. | |
Returns: | String |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Angle. tostring]Angle. tostring [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- __tostring is a type of overloaded operator.
You might have noticed that some objects have a function called __tostring. Well, you don't run __tostring like this - You run __tostring by converting the Angle object to a string with the tostring() function.