setForceStepType
SET_FORCE_STEP_TYPE0xCB968B53FC7F916DThe GTA V native SET_FORCE_STEP_TYPE of the PED namespace, as LS:MP client scripts call it: the global function setForceStepType, in JavaScript and in Lua.
setForceStepType(ped: Ped, p1: boolean, type: number, p3: number): voidsetForceStepType(ped: Ped, p1: boolean, type: integer, p3: integer)Usage
JavaScript
setForceStepType(ped, p1, type, p3);Lua
setForceStepType(ped, p1, type, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
type | int | number | integer |
p3 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_FORCE_STEP_TYPE(Ped ped, BOOL p1, int type, int p3)- Hash
0xCB968B53FC7F916D