GetMyTeam: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{v1_8_beta}} {{Welcome|desc=This function will return the team ID (0-255) of NPC.| params=<source inline>NoParams</source>|example=<source>print("My Team ID is "+ GetMyTeam()+ "\n");</source>| retvals=The Team ID of the npc|relfuncs= *GetPlayerTeam *GetMySkin|}}")
(No difference)

Revision as of 17:06, 29 October 2024

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


Description:
This function will return the team ID (0-255) of NPC.


Parameters: NoParams


Return Values:
The Team ID of the npc


Example

print("My Team ID is "+ GetMyTeam()+ "\n");

Related Functions

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