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: kazde
1. Zly kod - dostosowuje sie pod kazde gui.
[center][b]Mam zrobiony darkshop i jest on niezla amatorka przerobiona przeze mnie... i problem odkrylem dzis taki, ze jak zaladuje sobie obojetne jakie gui np. F1 XD i nacisne w miejsce, w ktorym mam "kup teraz" w darkshopie... to zakupie sobie bron, i tak przy uzyciu kazdego gui... Jak to naprawic?[/b][/center]

[b]Client[/b]
[lua] --[[
Author:Ramper
All rights resived!
]]

local t=createElement('text')
setElementData(t,'name','Dark Shop nWcisnij F3 by kupic bron!')
setElementDimension(t, 0)
setElementInterior(t, 0)
setElementPosition(t,-1684.26, 1062.26, 16.59)

local screenW, screenH = guiGetScreenSize()
local marker1 = createMarker(-1684.26, 1062.26, 15.59, "cylinder", 1.5, 35, 142, 35)
local sx,sy=guiGetScreenSize()

function isMouseIn(psx,psy,pssx,pssy,abx,aby)
if not isCursorShowing() then return end
cx,cy=getCursorPosition()
cx,cy=cx*sx,cy*sy
if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then
return true,cx,cy
else
return false
end
end

function draw ()
dxDrawRectangle(screenW * 0.3547, screenH * 0.0533, screenW * 0.2906, screenH * 0.8933, tocolor(3, 0, 0, 222), false)
dxDrawImage(screenW * 0.3547, screenH * 0.0783, screenW * 0.0641, screenH * 0.0467, "AK47.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawLine(screenW * 0.3531, screenH * 0.1417, screenW * 0.6461, screenH * 0.1417, tocolor(19, 177, 3, 222), 1,...