Player::setPlayerLockon

From RAGE Multiplayer Wiki
Revision as of 20:50, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example from fm_mission_controler.ysc.c4:

PLAYER::SET_PLAYER_LOCKON(PLAYER::PLAYER_ID(), 1);

All other decompiled scripts using this seem to be using the player id as the first parameter, so I feel the need to confirm it as so.

Syntax

player.setPlayerLockon(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

todo

See also