The Lab
FLOCK native

_CREATE_HERD

returns ScrHandle0 paramsbuild 1207

Creates a new herd and returns its handle.

Delete the herd with _DELETE_HERD when it is no longer needed.

Signature

C
ScrHandle _CREATE_HERD(); // 0xCB4EF7EDAE2E16F1 b1207

Parameters

This native takes no parameters.

Facts

Facts about _CREATE_HERD
Name
_CREATE_HERD
Hash
0xCB4EF7EDAE2E16F1
Namespace
Returns
ScrHandle
Game build
1207

Examples

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

Lua
local scrHandle = Citizen.InvokeNative(0xCB4EF7EDAE2E16F1, -- _CREATE_HERD
  Citizen.ResultAsInteger()
)
print(scrHandle)
JavaScript
const scrHandle = Citizen.invokeNative("0xCB4EF7EDAE2E16F1", // _CREATE_HERD
  Citizen.resultAsInteger()
);
console.log(scrHandle)
C#
int scrHandle = Function.Call<int>((Hash)0xCB4EF7EDAE2E16F1); // _CREATE_HERD
All FLOCK natives

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