Skip to content

World ​

dlmp.set_time ​

Same as Player:set_time.

Parameters

  • player Player
  • hour integer
  • minute integer

Returns ok boolean|nil, err string|nil

dlmp.set_weather ​

Same as Player:set_weather.

Parameters

Returns ok boolean|nil, err string|nil

dlmp.set_garage_open ​

Opens or closes the door of a native garage (id 0..49) for every client; all doors are closed by default. Only the door moves: a garage never repairs, repaints, tunes, arms or stores a vehicle. The setting is server-wide and persists after the resource stops.

Parameters

  • id integer
  • open boolean

Returns ok boolean|nil, err string|nil

dlmp.is_garage_open ​

Returns whether the door of a native garage is open, or nil for an id out of range.

Parameters

  • id integer

Returns boolean|nil

Documentation licensed under CC BY 4.0. DarqlineMP is not affiliated with Rockstar Games or Take-Two Interactive. Grand Theft Auto is a trademark of Take-Two Interactive Software, Inc.