RedM Natives

NETWORK_SET_PLAYER_IS_PASSIVE

Old name: _NETWORK_SET_PASSIVE_MODE_OPTION

Hash0x9C25E8EC4C535FBD
Runtime nameNetworkSetPlayerIsPassive
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

void NETWORK_SET_PLAYER_IS_PASSIVE(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Description

Old name: _NETWORK_SET_PASSIVE_MODE_OPTION

Usage

Lua
NetworkSetPlayerIsPassive(toggle)

-- always works, by hash
Citizen.InvokeNative(0x9C25E8EC4C535FBD, toggle)
JavaScript and C#
JavaScript
NetworkSetPlayerIsPassive(toggle);

// by hash
Citizen.invokeNative('0x9C25E8EC4C535FBD', toggle);
C#
Function.Call((Hash)0x9C25E8EC4C535FBD, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.