PedClient

setPedIsIgnoredByAutoOpenDoors

SET_PED_IS_IGNORED_BY_AUTO_OPEN_DOORS0x33A60D8BDD6E508C

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

SignatureJavaScript
setPedIsIgnoredByAutoOpenDoors(ped: Ped, p1: boolean): void
SignatureLua
setPedIsIgnoredByAutoOpenDoors(ped: Ped, p1: boolean)

Usage

JavaScript
setPedIsIgnoredByAutoOpenDoors(ped, p1);
Lua
setPedIsIgnoredByAutoOpenDoors(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_IS_IGNORED_BY_AUTO_OPEN_DOORS(Ped ped, BOOL p1)
Hash
0x33A60D8BDD6E508C
Formerly
_SET_PED_CAN_PLAY_INJURED_ANIMS

Open in the interactive natives reference