For the complete documentation index, see llms.txt. This page is also available as Markdown.

Server Events

Update Weather & Time for Temperature System

Updates both the active weather type and the current in-game time used by the temperature system.

---@param {weatherType: string}: Current GTA weather type
---@param {hour: number}: Current in-game hour (0-23)
---@param {minute: number}: Current in-game minute (0-59)
TriggerEvent('vms_needs:temperature:update', weatherType, hour, minute)
Example
TriggerEvent('vms_needs:temperature:update', 'CLEAR', 14, 30)

Update Weather for Temperature System

Updates only the active weather type used by the temperature system.

---@param {weatherType: string}: Current GTA weather type
TriggerEvent('vms_needs:temperature:updateWeather', weatherType)
Example
TriggerEvent('vms_needs:temperature:updateWeather', 'RAIN')

Update Time for Temperature System

Updates only the current in-game time used by the temperature system.

Example

Last updated