SET_PLAYER_CAN_BE_HASSLED_BY_GANGS
Sets whether this player can be hassled by gangs.
Hash
0xC7FE774412046825Runtime name
SetPlayerCanBeHassledByGangsNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD5E460AD7020A246Signature
void SET_PLAYER_CAN_BE_HASSLED_BY_GANGS(Player player, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
toggle | BOOL | — |
Returns void
Description
Sets whether this player can be hassled by gangs.
Usage
SetPlayerCanBeHassledByGangs(player, toggle)
-- always works, by hash
Citizen.InvokeNative(0xC7FE774412046825, player, toggle)JavaScript and C#
SetPlayerCanBeHassledByGangs(player, toggle);
// by hash
Citizen.invokeNative('0xC7FE774412046825', player, toggle);Function.Call((Hash)0xC7FE774412046825, player, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.