Skrypt: [lua]--[[
Resource: OURGame v2
Developers: Split <[email protected]>
You have no right to use this code without my permission.
(c) 2015 <[email protected]>. All rights reserved.
]]
mojeW,mojeH = 1280, 1024
sW,sH = guiGetScreenSize()
w, h = (sW/mojeW), (sH/mojeH)
local sx, sy = guiGetScreenSize ()
prawko = false
function mysz(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
local marker=createMarker(-2032.59, -117.51, 1035.17-1, "cylinder", 1.2, 255, 255, 0) -- Prawo Jazdy
setElementInterior(marker, 3)
setElementDimension(marker, 1)
--local marker2=createMarker(-2236.91, 2354.17, 4.98-1, "cylinder", 1.2, 0,128,0) -- Licencja Lotnicza
setElementInterior(marker2, 0)
local t=createElement("text")
setElementInterior(t, 3)
setElementDimension(t, 1)
setElementPosition(t,-2032.59, -117.51, 1035.17)
setElementData(t,"name","Zdawanie na prawo jazdy")
local t2=createElement("text")
setElementInterior(t2, 0)
setElementPosition(t2, -2237.23, 2353.97, 4.98)
--setElementData(t2,"name","Zdawanie licencji lotniczej")
local wm={}
wm.gridlist=guiCreateGridList(357*w, 393*h, 567*w... |