Otoz mam bug. Posiadam gm own-worlda i jest tam praca busy.
Podchodzi do markeru wyswietla sie (panel) i klikasz zatrudnij sie i potem poziom 1 2 3 i nie moge kliknac tego poziom 1 2 3 zeby tepnac jakis bug pomoze ktos: (sr za orto):
KOD:
notepad: C:
[lua]
-[[
autor: Asper & Payro
for: Own World
All rights reserved!
]]
local sx, sy = guiGetScreenSize()
local screenW, screenH = 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
function math.percent(percent,maxvalue)
if tonumber(percent) and tonumber(maxvalue) then
local x = (maxvalue*percent)/100
return x
end
return false
end
local x, y = screenW * 0.2625, screenH * 0.3926
local trzymam = false
local git = false
local x2, y2 = screenW * 0.2625, screenH * 0.4815
local trzymam2 = false
local git2 = false
local potrzebny = "?"
local m_marker = false
local w_marker = false
local w_blip = false
local marker = false
local blip = false
local e_marker = false
local e_blip = false
local zamowienie = 0
local punkty_bus = {
{--[[marker]] -187.36990356445, 1126.4725341797, 19.692775726318, --[[ped1]] -184.2621307373, 1128.2377929688, 19.7421875, 90, --[[ped2]] ... |