World
dlmp.set_time
Same as Player:set_time.
Parameters
playerPlayerhourintegerminuteinteger
Returns ok boolean|nil, err string|nil
dlmp.set_weather
Same as Player:set_weather.
Parameters
playerPlayerweatherinteger
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
idintegeropenboolean
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
idinteger
Returns boolean|nil
