RedM Natives

_TASK_AI_SEEK_COVER_TO_COVER_POINT

Hash0x89783FDDF079C88D
Runtime nameTaskAiSeekCoverToCoverPoint
NamespaceAICOVERPOINT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _TASK_AI_SEEK_COVER_TO_COVER_POINT(Any* args);

Parameters

NameTypeDescription
argsAny*—

Returns void

Usage

Lua
local args = TaskAiSeekCoverToCoverPoint(args)

-- always works, by hash
local args = Citizen.InvokeNative(0x89783FDDF079C88D, Citizen.PointerValueIntInitialized(args))
JavaScript and C#
JavaScript
const args = TaskAiSeekCoverToCoverPoint(args);

// by hash
const args = Citizen.invokeNative('0x89783FDDF079C88D', Citizen.pointerValueIntInitialized(args));
C#
var args = new OutputArgument();
Function.Call((Hash)0x89783FDDF079C88D, args);
// args.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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