setPedIsIgnoredByAutoOpenDoors
SET_PED_IS_IGNORED_BY_AUTO_OPEN_DOORS0x33A60D8BDD6E508CThe 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.
setPedIsIgnoredByAutoOpenDoors(ped: Ped, p1: boolean): voidsetPedIsIgnoredByAutoOpenDoors(ped: Ped, p1: boolean)Usage
JavaScript
setPedIsIgnoredByAutoOpenDoors(ped, p1);Lua
setPedIsIgnoredByAutoOpenDoors(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
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