Skip to main content

ALLOW_LOCKON_TO_FRIENDLY_PLAYERS

Game.AllowLockonToFriendlyPlayersHash0x362B5D1B
Usage
Game.AllowLockonToFriendlyPlayers(playerIndex, allow)

Multiplayer only, this explicitly allows player vs friendly player lockons in a network game: By default its disabled.

Parameters

  • playerIndexintegerint
  • allowbooleanbool

Returns

Nothing

Original declaration
// 0x362B5D1B
void ALLOW_LOCKON_TO_FRIENDLY_PLAYERS(int playerIndex, bool allow);