StrGetName
Revision as of 20:31, 13 July 2007 by imported>Talkie Toaster (New page: '''Syntax:''' set ''StringRef:long'' to [ref.]StrGetName '''Example:''' set PlayerName to Player.StrGetName Registers a new string, and returns it's reference number as a ''long''. T...)
Syntax:
set StringRef:long to [ref.]StrGetName
Example:
set PlayerName to Player.StrGetName
Registers a new string, and returns it's reference number as a long. The string is set to the name of the reference you call it on. You do not need an existing string (as created by StrNew) to put the name into- and calling StrGetName on an existing string pointer will leave the previous string abandoned and unreferenced.