RedM Natives

SET_PLAYER_CAN_BE_HASSLED_BY_GANGS

Sets whether this player can be hassled by gangs.

Hash0xC7FE774412046825
Runtime nameSetPlayerCanBeHassledByGangs
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD5E460AD7020A246

Signature

void SET_PLAYER_CAN_BE_HASSLED_BY_GANGS(Player player, BOOL toggle);

Parameters

NameTypeDescription
playerPlayer—
toggleBOOL—

Returns void

Description

Sets whether this player can be hassled by gangs.

Usage

Lua
SetPlayerCanBeHassledByGangs(player, toggle)

-- always works, by hash
Citizen.InvokeNative(0xC7FE774412046825, player, toggle)
JavaScript and C#
JavaScript
SetPlayerCanBeHassledByGangs(player, toggle);

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

Sources

alloc8or RDR3 NativeDB

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