Wiki

Clone wiki

EFLC-MP LUA / setDoorStatus

Description

Sets whether a given door must be open or closed. The coordinates must be exactly the same.

Parameters

Int playerId, Int doorObjectModel, Float x, Float y, Float z, Bool status
Int playerId

Int doorObjectModel: The door hash model

Float x

Float y

Float z

Bool status: True = closed and False = open

Return values


Example

Updated