PedClient

setDisablePedMapCollision

SET_DISABLE_PED_MAP_COLLISION0xDFE68C4B787E1BFB

The GTA V native SET_DISABLE_PED_MAP_COLLISION of the PED namespace, as LS:MP client scripts call it: the global function setDisablePedMapCollision, in JavaScript and in Lua.

SignatureJavaScript
setDisablePedMapCollision(ped: Ped): void
SignatureLua
setDisablePedMapCollision(ped: Ped)

Usage

JavaScript
setDisablePedMapCollision(ped);
Lua
setDisablePedMapCollision(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_DISABLE_PED_MAP_COLLISION(Ped ped)
Hash
0xDFE68C4B787E1BFB
Introduced
Game build 1180 legacy numbering

Open in the interactive natives reference