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: włącze
1. Gdy włącze ten skrypt to są lagi
Witam zmieni?em toch? skrypt a mianowicie doda?em now? walut? po 5 sekundach zaczyna lagowa? ca?y serwer potem nic ju? nie dzia?a.

[code]local sx,sy=guiGetScreenSize()
local screenW, screenH=guiGetScreenSize()
function renderHUD()
if getElementData(localPlayer,"notshowhud") then return end
dxSetAspectRatioAdjustmentEnabled( true )

local realtime = getRealTime()
local hour = realtime.hour
local minute = realtime.minute

local x,y,z=getElementPosition(localPlayer)

--%08d
--dxDrawRectangle(screenW * 0.7079, screenH * 0.0417, screenW * 0.2848, screenH * 0.1536, tocolor(0, 0, 0, 155), false)

--dxDrawText(string.format("%02d",hour).." : "..string.format("%02d", minute), sx*1089/1280+1, sy*(30+1)/720, sx*1251/1280+1, sy*92/720+1, tocolor(255, 255, 255, 255), 2, "pricedown", "center", "center", false)
--dxDrawText(string.format("%02d",hour).." : "..string.format("%02d", minute), sx*1089/1280, sy*(30)/720, sx*1251/1280, sy*92/720, tocolor(255, 255, 255, 255), 2, "pricedown", "center", "center", false)

--dxDrawText(string.format("PLN %06d", getPlayerMoney()), sx*996/1280+1, sy*60/720+1, sx*1218/1280+1, sy*209/720+1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "center", "center", false)
--dxDrawText(string.format("PLN %06d", getPlayerMoney()), sx*996/1280, sy*60/7...