lab-TextUI
A simple Text Ui resource with sound and fading animations.
You can use this resource by the following exports:
● | Show:
exports['lab-TextUI']:Show('Example Text')
● | Hide:
exports['lab-TextUI']:Hide()
Example Usage:
Citizen.CreateThread(function()
local inZone = false
local enteredZone = false
while true do
inZone = false
local sleep = 1000
local ped = PlayerPedId()
local pedCoords = GetEntityCoords(ped)
if #(pedCoords - Config.Coords) < 3 then
sleep = 5
inZone = true
if IsControlJustReleased(0, 38) then
OpenAuctionMenu()
end
end
if not enteredZone and inZone then
exports['lab-TextUI']:Show('Black Market Auctions')
enteredZone = true
elseif enteredZone and not inZone then
exports['lab-TextUI']:Hide()
enteredZone = false
end
Citizen.Wait(sleep)
end
end)
Other Releases:
[ESX] Create Mafia | Let Players Create Their Own Organisations
[ESX] Black Market | Reputation System | UI
[ESX] Territories & GangWars
Drug Dealers | Cutscenes | Reputation System
[Free] Top Criminals | Leaderboard [ESX]
Fields & Labs [ESX][Free]