GetMyName: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
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]]
}}
}}

Revision as of 13:24, 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());

Example

GetMyName();

Related Functions

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