The Lab
GRAPHICS native

_ADD_VEG_MODIFIER_ZONE

returns int4 paramsbuild 1207

Creates a vegetation modifier inside volume with the given type and flags, returning its handle.

Signature

C
int _ADD_VEG_MODIFIER_ZONE(Volume volume, int p1, int flags, int p3); // 0xBD3324281E8B9933 b1207

Parameters

#NameType
1volumeVolume
2p1int
3flagsint
4p3int

Facts

Facts about _ADD_VEG_MODIFIER_ZONE
Name
_ADD_VEG_MODIFIER_ZONE
Hash
0xBD3324281E8B9933
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xBD3324281E8B9933, -- _ADD_VEG_MODIFIER_ZONE
  0, -- Volume volume
  0, -- int p1
  0, -- int flags
  0, -- int p3
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xBD3324281E8B9933", // _ADD_VEG_MODIFIER_ZONE
  0, // Volume volume
  0, // int p1
  0, // int flags
  0, // int p3
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xBD3324281E8B9933, // _ADD_VEG_MODIFIER_ZONE
  0, // Volume volume
  0, // int p1
  0, // int flags
  0 // int p3
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.