GetMySkin: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{v1_8_beta}} {{Welcome|Returns the skin ID of the NPC.| params=<source>NoParams</source>| example=<source inline>local myskin=GetMySkin()</source>| retvals=The Skin ID of the NPC.| relfuncs=*GetPlayerSkin|}}")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Welcome|Returns the skin ID of the NPC.|
{{Welcome|Returns the skin ID of the NPC.|
params=<source>NoParams</source>|
params=<source>NoParams</source>|
example=<source inline>local myskin=GetMySkin()</source>|
example=<source>local myskin = GetMySkin()</source>|
retvals=The Skin ID of the NPC.|
retvals=The Skin ID of the NPC.|
relfuncs=*[[GetPlayerSkin]]|}}
relfuncs=*[[GetPlayerSkin]]
*[[GetMyTeam]]|}}

Latest revision as of 17:03, 29 October 2024

This function was added in v1.8 beta and will not work on previous versions.


Description:


Parameters:

NoParams


Return Values:
The Skin ID of the NPC.


Example

local myskin = GetMySkin()

Related Functions

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