Introduces a standardized GetResourceName function to banking, clothing, dispatch, doorlock, framework, fuel, helptext, housing, and other modules. This function returns the name of the in-use resource, improving resource identification and interoperability across the codebase.
15 lines
280 B
Lua
15 lines
280 B
Lua
---@diagnostic disable: duplicate-set-field
|
|
Weather = Weather or {}
|
|
|
|
---This will toggle the players weather/time sync
|
|
---@param toggle boolean
|
|
---@return nil
|
|
Weather.ToggleSync = function(toggle)
|
|
|
|
end
|
|
|
|
Weather.GetResourceName = function()
|
|
return "default"
|
|
end
|
|
|
|
return Weather |