GetMySkin: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
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]]|}}
*[[GetMyTeam]]|}}

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.