PedClient

setForceStepType

SET_FORCE_STEP_TYPE0xCB968B53FC7F916D

The 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.

SignatureJavaScript
setForceStepType(ped: Ped, p1: boolean, type: number, p3: number): void
SignatureLua
setForceStepType(ped: Ped, p1: boolean, type: integer, p3: integer)

Usage

JavaScript
setForceStepType(ped, p1, type, p3);
Lua
setForceStepType(ped, p1, type, p3)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean
typeintnumberinteger
p3intnumberinteger

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

Open in the interactive natives reference