GetMyArmour

From NPC for VCMP 0.4 Servers
Revision as of 17:09, 29 October 2024 by Habi (talk | contribs) (Created page with "{{v1_8_beta}} {{Welcome|desc=This function returns the Armour of the NPC|params=<source>NoParams</source>| example=<source> if(AmISpawned()) { print("I have armour "+GetMyArmour()+"\n"); } </source>| retvals=The Armour of npc.| relfuncs=*GetPlayerArmour *GetMyHealth}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


Description:
This function returns the Armour of the NPC


Parameters:

NoParams


Return Values:
The Armour of npc.


Example

if(AmISpawned())
{
		print("I  have armour "+GetMyArmour()+"\n");
}

Related Functions

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