GetMyTeam
Revision as of 17:06, 29 October 2024 by Habi (talk | contribs) (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|}}")
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.