: Uses X and Y coordinates to place the text in corners (usually top-right) to avoid overlapping with the main HUD.
: A table at the top of the file where users can quickly change the server name, time format, and screen position.
is a specialized script typically used in gaming environments—most notably FiveM (GTA V) or Roblox —to display a real-time clock and custom text (a "watermark") on a player's screen . Its primary purpose is to provide a subtle, persistent UI element for server branding or player utility. Core Features ClockWatermark.lua
: Helps players keep track of "In-Character" or "Out-Of-Character" time without checking a menu.
: A Citizen.CreateThread (in FiveM) or RenderStepped (in Roblox) function that renders the text every frame. : Uses X and Y coordinates to place
: Supports changes to font face, size, color, and opacity (Alpha). Common Script Structure
Place the ClockWatermark folder into your server's resources directory. Open your server.cfg file. Add the line ensure ClockWatermark or start ClockWatermark . Restart your server or start the resource via the console. Its primary purpose is to provide a subtle,
: Code that fetches local time using os.date("%H:%M:%S") . Example Use Cases