PLAYER

SET_PLAYER_LOCKON

0x5C8B2F450EE4328E Jenkins: 0x0B270E0F

Signature

// PLAYER
void SET_PLAYER_LOCKON(Player player, BOOL toggle)

Parameters

Type Name
Player player
BOOL toggle

Return type void

Build 323

Documentation

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. No need to confirm it says PLAYER_ID() so it uses PLAYER_ID() lol.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.