Skip to content

Simple Job DrawText UI

The DrawText UI system displays a custom interface with images and text when players enter specific locations in-game. This system provides an elegant way to showcase location information and branding.

Installation

  1. Copy the resource folder to your serverโ€™s resources directory
  2. Add the following line to your server.cfg:
ensure job-drawtextui

Configuration

Hereโ€™s an example configuration for the Los Santos Police Department:

{
coords = vector3(440.84, -983.14, 30.69), -- Mission Row PD
radius = 25.0,
content = {
image = "https://cdn-icons-png.flaticon.com/512/4335/4335542.png",
title = "Los Santos Police Department",
description = "Protect and Serve | Join LSPD Today!",
tagline = "To Protect and Serve",
colors = {
title = "#003366", -- Police blue
description = "#ffffff", -- White
tagline = "#003366", -- Police blue
border = {
primary = "#003366",
secondary = "#001f3f",
glow = "0, 51, 102"
}
}
}
}

DrawText UI Example