GetMyID: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Welcome|
{{Welcome|
desc=Returns the player ID of the npc in the server.|
desc=Returns the player ID of the npc in the server.|
params=<syntaxhighlight lang="lua">()</syntaxhighlight>|
params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight>|
example=<source lang="lua">
example=<source lang="lua">
GetMyID();
GetMyID();
</source>|
</source>|
retval= The ID of the npc.|
retvals= The ID of the npc.|
relfuncs=*[[GetMyName]]
relfuncs=*[[GetMyName]]
}}
}}

Revision as of 04:48, 6 September 2024


Description:
Returns the player ID of the npc in the server.


Parameters:

NoParams


Return Values:
The ID of the npc.


Example

GetMyID();

Related Functions

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