The Lab
TASK native

_SET_PED_PATH_MAY_USE_SLIDING_SURFACES

returns void2 paramsbuild 1311

Allows or forbids ped from pathing over sliding surfaces.

Signature

C
void _SET_PED_PATH_MAY_USE_SLIDING_SURFACES(Ped ped, BOOL useSlidingSurfaces); // 0x06ECF3925BC2ABAE b1311

Parameters

#NameType
1pedPed
2useSlidingSurfacesBOOL

Facts

Facts about _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
Name
_SET_PED_PATH_MAY_USE_SLIDING_SURFACES
Hash
0x06ECF3925BC2ABAE
Namespace
Returns
void
Game build
1311

Examples

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

Lua
Citizen.InvokeNative(0x06ECF3925BC2ABAE, -- _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
  PlayerPedId(), -- Ped ped
  false -- BOOL useSlidingSurfaces
)
JavaScript
Citizen.invokeNative("0x06ECF3925BC2ABAE", // _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
  PlayerPedId(), // Ped ped
  false // BOOL useSlidingSurfaces
);
C#
Function.Call((Hash)0x06ECF3925BC2ABAE, // _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
  API.PlayerPedId(), // Ped ped
  false // BOOL useSlidingSurfaces
);
All TASK natives

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