RedM Natives

_SET_FORMATION_AUTO_ASSIGN_POSITION

Hash0x478F6B9920446CE2
Runtime nameSetFormationAutoAssignPosition
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_FORMATION_AUTO_ASSIGN_POSITION(int groupId, BOOL toggle);

Parameters

NameTypeDescription
groupIdint—
toggleBOOL—

Returns void

Usage

Lua
SetFormationAutoAssignPosition(groupId, toggle)

-- always works, by hash
Citizen.InvokeNative(0x478F6B9920446CE2, groupId, toggle)
JavaScript and C#
JavaScript
SetFormationAutoAssignPosition(groupId, toggle);

// by hash
Citizen.invokeNative('0x478F6B9920446CE2', groupId, toggle);
C#
Function.Call((Hash)0x478F6B9920446CE2, groupId, toggle);
  • 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.