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: zdawajacych
1. Wylaczenie kolizji pojazdow zdawajacych prawko
c_license.lua
[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(-2033.08, -117.49, 1035.17-1, "cylinder", 1.2, 0, 122, 255, 55) -- Prawo Jazdy
setElementInterior(marker, 3)
setElementDimension(marker, 1)
setElementData(marker, 'typ', 'pojazd')

local marker2=createMarker(-2237.23, 2353.97, 4.98-1, "cylinder", 1.2, 0, 122, 255, 55) -- Licencja Lotnicza
setElementInterior(marker2, 0)

local t=createElement("text")
setElementInterior(t, 3)
setElementDimension(t, 1)
setElementPosition(t,-2033.08, -117.49, 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")


loca...