Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: iyw_gui
1. iyw_gui
Siema mam ten error https://imgur.com/a/zNtVJoV
a o to kod
[lua]


local utils = {nametagFont = setFont("archivo_narrow", 19), location = setFont("sign_painter", 38)}
local screenSize = Vector2(guiGetScreenSize())
local timer = false

addEventHandler("onClientMinimize", root, function()
localPlayer:setData("player:minimalized", getTickCount())
localPlayer:setData("player:tick", getTickCount())
timer = Timer(function() localPlayer:setData("player:tick", getTickCount()) end, 1000, 0)
end)

addEventHandler("onClientRestore", root, function()
localPlayer:setData("player:minimalized", false)
if timer and timer.valid then timer:destroy() end
end)

addEventHandler("onClientRender", root, function()
if not isPlayerMapVisible() and not localPlayer:getData("player:hud_visible") then
local position = {getElementPosition(localPlayer)}
local city = getZoneName(position[1], position[2], position[3], true)
local street = getZoneName(position[1], position[2], position[3], false)
if dxSetAspectRatioAdjustmentEnabled then dxSetAspectRatioAdjustmentEnabled(true) end

if city == "Unknown" then street = "" end
if city ~= street then street = " "..street.."n"..city else street = " "..street end
if isPlayerHudComponentVisible("radar") and localPlayer.interior == 0 and localPlayer....