Player::setPlayerLockon

From RAGE Multiplayer Wiki
Revision as of 21:30, 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

mp.game.player.setPlayerLockon(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also