SET_PLAYER_LOCKON
Hash
0x462AA1973CBBA75ERuntime name
SetPlayerLockonNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5C8B2F450EE4328ESignature
void SET_PLAYER_LOCKON(Player player, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
toggle | BOOL | — |
Returns void
Usage
SetPlayerLockon(player, toggle)
-- always works, by hash
Citizen.InvokeNative(0x462AA1973CBBA75E, player, toggle)JavaScript and C#
SetPlayerLockon(player, toggle);
// by hash
Citizen.invokeNative('0x462AA1973CBBA75E', player, toggle);Function.Call((Hash)0x462AA1973CBBA75E, player, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.