[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
Witam. Zrobilem juz funkcje po stronie servera i clienta. Normalnie 1 panel smigal. gdy zrobilem 2 panel, pokazywal sie tylko gridlist ( robi za window ) ii label z napisem LOGIN: