NetworkClientBlocked

networkSessionGetHostAimPreference

NETWORK_SESSION_GET_HOST_AIM_PREFERENCE0xDFFA5BE8381C3314

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

SignatureJavaScript
networkSessionGetHostAimPreference(): number
SignatureLua
networkSessionGetHostAimPreference(): integer
✕
Blocked for scripts: Rockstar online sessions and content

LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
int NETWORK_SESSION_GET_HOST_AIM_PREFERENCE()
Hash
0xDFFA5BE8381C3314
Introduced
Game build 463 legacy numbering
Formerly
_NETWORK_GET_TARGETING_MODE

Open in the interactive natives reference