NetworkClient

networkSetLocalPlayerSyncLookAt

NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT0x524FF0AEFF9C3973

The GTA V native NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetLocalPlayerSyncLookAt, in JavaScript and in Lua.

SignatureJavaScript
networkSetLocalPlayerSyncLookAt(toggle: boolean): void
SignatureLua
networkSetLocalPlayerSyncLookAt(toggle: boolean)

Usage

JavaScript
networkSetLocalPlayerSyncLookAt(toggle);
Lua
networkSetLocalPlayerSyncLookAt(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT(BOOL toggle)
Hash
0x524FF0AEFF9C3973

Open in the interactive natives reference