_SET_PED_PATH_MAY_USE_SLIDING_SURFACES
Allows or forbids ped from pathing over sliding surfaces.
Signature
void _SET_PED_PATH_MAY_USE_SLIDING_SURFACES(Ped ped, BOOL useSlidingSurfaces); // 0x06ECF3925BC2ABAE b1311Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | useSlidingSurfaces | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x06ECF3925BC2ABAE, -- _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
PlayerPedId(), -- Ped ped
false -- BOOL useSlidingSurfaces
)Citizen.invokeNative("0x06ECF3925BC2ABAE", // _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
PlayerPedId(), // Ped ped
false // BOOL useSlidingSurfaces
);Function.Call((Hash)0x06ECF3925BC2ABAE, // _SET_PED_PATH_MAY_USE_SLIDING_SURFACES
API.PlayerPedId(), // Ped ped
false // BOOL useSlidingSurfaces
);Related TASK natives
- _SET_PED_PATH_MAY_ENTER_DEEP_WATER
- _SET_PED_PATH_NEVER_USE_INTERIORS
- _SET_PED_PATH_AVOID_TRAFFIC
- _SET_PED_PATH_LADDER_COST_MODIFIER
- _SET_PED_PATH_PREFER_HORSE_WALKABLE
- _SET_PED_PATH_PREFER_STAY_IN_WATER
- _SET_PED_PATH_PREFER_TO_AVOID_FOLIAGE
- _SET_PED_PATH_PREFER_TO_AVOID_MUD
- SET_PED_PATH_CAN_USE_CLIMBOVERS
- SET_PED_PATH_CAN_USE_LADDERS
- SET_PED_PATH_MAY_ENTER_WATER
- _SET_PED_CLEAR_AIMING_IN_THE_AIR
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.