Skip to main content

GET_PLAYER_TEAM

Game.GetPlayerTeamHash0x4C2879AD
Usage
local playerTeam = Game.GetPlayerTeam(playerIndex)

Gets the team the player is in.

Parameters

  • playerIndexintegerint

Returns

  • playerTeamintegerreturn value
Original declaration
// 0x4C2879AD
int GET_PLAYER_TEAM(int playerIndex);