GetMyName: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome| desc=Returns thr name of the npc.| params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight>| retval=The name of the npc as string.| note=This is equivalent to <source lang="lua" inline>GetPlayerName(GetMyId());</source> relfuncs=*GetMyId }}")
 
No edit summary
Line 3: Line 3:
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>|
relfuncs=*[[GetMyId]]
relfuncs=*[[GetMyId]]
}}
}}

Revision as of 13:20, 14 February 2023


Description:
Returns thr name of the npc.


Parameters:

NoParams


Return Values:
This function does not return any specific values.

Important Note:
This is equivalent to GetPlayerName(GetMyId());


Related Functions

The following functions may be helpful as they relate to this function in one way or another.