Skip to main content

GET_PLAYER_ID

Game.GetPlayerIdHash0x62E319C6
Usage
local playerId = Game.GetPlayerId()

Gets the player index for the main player.

Parameters

None

Returns

  • playerIdintegerreturn value
Original declaration
// 0x62E319C6
int GET_PLAYER_ID();