Current Weather & Temperature 1.3

current_weather

Hi guys!

It’s my second free release!

If you liked, please give me a thumbs up for motivation! :smiley:

PREVIEW: Current Weather

Updated 1.3 Version

  1. Automatically saves the UI position so that after a server restart, the client’s UI appears in the same location as it was last positioned.
  2. Time zone support added: if your server’s time doesn’t match your local time, you can easily adjust it in the configuration.
  3. Reworked temperature settings: Ensure that ‘tempMin’ is always lower than ‘tempMax’; otherwise, you’ll receive ‘N/A’.
  4. Synchronized weather temperature across all clients—now every client displays the same temperature.
  5. Discord webhooks have been integrated with your Discord server. Now everyone can see the current weather on your server.
  6. Reworked UI, now for different resolutions, must show same UI size.

Updated 1.2 Version

  1. Added UIonAllTime = false, – Set true, if you want all the time UI its be ON when server starts.

Updated 1.1 Version

  1. Created and everything what’s need it, moved to config.lua and config.json
  2. Created the “fake” temperature. You can adjust temperature by specific time of specific weather.
  3. Created the time could show of game time or server current time.

If you want, keep on update, you can use my tebex. This is version 1.3
DOWNLOAD: Tebex.io FREE DOWNLOAD

or just use github with no updates in future. This is version 1.0
DOWNLOAD: FREE DOWNLOAD GITHUB

How It Works:

  1. Command Registration:
  • /weather Command: Toggles the visibility of the weather and time UI. When this command is used, the UI element will either appear or disappear from the screen.
  • /positionWeather Command: If the UI is visible, this command allows the player to reposition it by making it draggable.
  • /resetWeatherUI Command: It will reset to its default position.
  1. UI Interaction:
  • The UI is displayed using HTML/CSS and is styled to be visually appealing with a modern design. The display is fixed at the top of the screen, centered horizontally.
  • Users can drag the UI around the screen.
  • NEW - Automatically saves the UI position so that after a server restart, the client’s UI appears in the same location as it was last positioned.


Config.lua


Check my another paid release here: https://forum.cfx.re/t/esx-qbcore-diving-gear-system-1-2/5260925/8

Check my another free release here: https://forum.cfx.re/t/standalone-emojis-over-head-1-1/5261951/8

7 Likes

i think this script is great

can you add a config to force players to use the ui and possibly add temperature to it

the reason behind my request is that players go to a clothing store and put on a jacket in 90 degree weather

xa xa xa, i will try something, when i finish another script update :slight_smile:

1 Like

This would be awesome, if you want you can PM me and i would love to create a script that will force you in RP situations to get properly styled.

so that you cant go outside with a short jeans when its -5 °C it will take damage, or give you a freeze effect or something,

Great Release! Keep it up

1 Like

Thanks mate!

what about overheating and losing health

nice idea!

UPDATE IS AMAZING!!!

now if we could just get a way to force it on players screens lol

but i wanna say thank you !!

I will do brother soon when i get a free time to this :+1: thank you for like it!

Done lad, enjoy UI option

1 Like

thank you your a
GOAT!!!

1 Like

Nice release, i will try this !

1 Like

Thank you! :ok_hand:

1 Like

hey… its me again

last request PLEASE
can we implement some way to save the position where players put the widget or can we force it in a certain area - ex : top-left

and also can we block middle of screen placement as players can start using it as a crosshair

Yes i thought about saving position, this will be probably be for the next update, mate.

1 Like


Super ! working RedM

1 Like

Awesome, bro!

Hi brother, sorry for late reply, i reworked this system, if you still interest, please check again.