GetMyName: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Welcome| | {{Welcome| | ||
desc=Returns | desc=Returns the name of the npc.| | ||
params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight>| | params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight>| | ||
retval=The name of the npc as string.| | retval=The name of the npc as string.| | ||
note=This is equivalent to <source lang="lua" inline>GetPlayerName(GetMyId());</source>| | note=This is equivalent to <source lang="lua" inline>GetPlayerName(GetMyId());</source>| | ||
example=<source lang="lua">GetMyName();</source>| | |||
relfuncs=*[[GetMyID]] | relfuncs=*[[GetMyID]] | ||
}} | }} |
Latest revision as of 13:29, 14 February 2023
Description:
Returns the name of the npc.
Parameters:
NoParams
Return Values:
This function does not return any specific values.
Important Note:
This is equivalent to GetPlayerName(GetMyId());
Example
GetMyName();
Related Functions
The following functions may be helpful as they relate to this function in one way or another.