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: podmieć
1. Jak podmieć gui
Witam tak jak w temacie zrobi?em sobie okno i chce je podmieni? na gui nie wiem jak to zrobi? jak uda mi si? zrobi? piwko i respekt a jak nie uda to tylko piwko za pomoc :)

[lua]
local I=0
local D=0

--wykorzystujemy zmienne:
--UM_HOUSE_ID
--UM_HOUSE_CENA

local marker=createMarker(1663.23, -1650.35, 14.25-1,"cylinder",1.5,50,90,255,75)
setElementInterior(marker,0)

local infowin = guiCreateWindow(0.7531,0.3479,0.2109,0.3792,"Kupno domku ( Kursor - F4 )",true)
local infowinlbl = guiCreateLabel(0.037,0.1209,0.9185,0.1,"", true, infowin)
local infoedit=guiCreateEdit(0.037, 0.3, 0.9185, 0.1, "ID DOMU", true, infowin)
local infobtn=guiCreateButton(0.037, 0.5, 0.9185, 0.2, "Nast?pny krok (1/3)", true, infowin)

guiLabelSetHorizontalAlign(infowinlbl,"center",true)
guiSetFont(infowinlbl,"default-small")
guiSetVisible(infowin, false)

addEventHandler("onClientMarkerHit", marker, function(el,md)
if (el~=localPlayer or not md) then return end
local _,_,z=getElementPosition(localPlayer)
local _,_,z2=getElementPosition(source)
if (math.abs(z2-z)>5) then return end
guiSetText(infobtn, "Nast?pny krok (1/3)")
guiSetText(infoedit, "ID DOMU")
guiSetText(infowinlbl, "")
guiSetVisible(infowin, true)
umlasttick = getTickCount()
end)

addEventHandler("onClientMarkerLeave", marker, function(el,md)
if (el~=localPlayer) then re...