The Lab
PED native

_SET_PED_DESIRED_LOCO_FOR_MODEL

returns void2 paramsbuild 1207

Overrides the locomotion archetype locomotionArchetype used for the model of ped.

Signature

C
void _SET_PED_DESIRED_LOCO_FOR_MODEL(Ped ped, const char* locomotionArchetype); // 0x923583741DC87BCE b1207

Parameters

#NameType
1pedPed
2locomotionArchetypeconst char*

Facts

Facts about _SET_PED_DESIRED_LOCO_FOR_MODEL
Name
_SET_PED_DESIRED_LOCO_FOR_MODEL
Hash
0x923583741DC87BCE
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x923583741DC87BCE, -- _SET_PED_DESIRED_LOCO_FOR_MODEL
  PlayerPedId(), -- Ped ped
  "text" -- const char* locomotionArchetype
)
JavaScript
Citizen.invokeNative("0x923583741DC87BCE", // _SET_PED_DESIRED_LOCO_FOR_MODEL
  PlayerPedId(), // Ped ped
  "text" // const char* locomotionArchetype
);
C#
Function.Call((Hash)0x923583741DC87BCE, // _SET_PED_DESIRED_LOCO_FOR_MODEL
  API.PlayerPedId(), // Ped ped
  "text" // const char* locomotionArchetype
);
All PED natives

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