[lua]
--[[
Developed by Yolos
All rights reserved!
You cannot use this without permission!
--]]
--[[
addEventHandler("onResourceStart", resourceRoot,
function ()
CuboidNumber_0 = createColCuboid(1658.74, 1797.23, 10.43, 56.6, 32.5, 11)
end
)
--]]
local marker=createMarker(1738.36, 1858.99, 10.00, "cylinder", 5, 34, 3, 99, 155)
local cuboid=createColCuboid(1658.74, 1797.23, 10.43, 56.6, 32.5, 11)
createBlip(1726.64, 1939.99, 35.32, 55,2,0,0,0,0,0,275)
local wstep=false
local podatek=0
local text=createElement("text")
setElementPosition(text,1738.36, 1858.99, 10.43)
setElementData(text,"name","Gie?danUstawianie ceny.")
local wm={}
wm.window=guiCreateWindow(0.74, 0.33, 0.25, 0.50, "Gielda", true)
guiWindowSetSizable(wm.window, false)
guiWindowSetMovable(wm.window, false)
guiSetVisible(wm.window, false)
wm.label=guiCreateLabel(0.06, 0.07, 0.89, 0.07, "Wpisz cen? kt?ra ma widnie? na poje?dzie.", true, wm.window)
guiLabelSetHorizontalAlign(wm.label, "center", false)
guiLabelSetVerticalAlign(wm.label, "center")
wm.label2=guiCreateLabel(0.06, 0.21, 0.89, 0.07, "Po odj?ciu podatku cena wyniesie: 0 PLN", true, wm.window)
guiLabelSetHorizontalAlign(wm.label2, "center", false)
guiLabelSetVerticalAlign(wm.label2, "center")
wm.edit=guiCreateEdit(0.06, 0.40, 0.91, 0.10, "", true, wm.window)
wm.submit2=guiCreateButton... |