Witam chcia?bym aby kto? pom?g? z tym ?eby pieni?dze sz?y do bankomatu a nie tak jakby na konto gracza (portfela). Chcia?bym jeszcze wiedzie? jak doda? wymagania do tej pracy. Kod podaj? ni?ej.
c.lua
[lua]
--[[
Praca busa
]]--
sx,sy = guiGetScreenSize()
screenW, screenH = guiGetScreenSize()
px, py = (screenW/1366),(screenH/768)
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 code = "StreetView"
local districtsBus = {
{-1980.01,102.42,27.21},
{-1990.61,143.75,27.06},
{-2000.20,193.23,27.06},
{-1999.88,275.62,32.47},
{-2000.75,399.76,34.54},
{-2001.22,502.10,34.53},
{-2002.00,616.51,34.52},
{-2000.80,741.70,44.65},
{-2001.62,805.51,45.01},
{-2063.04,810.21,62.82},
{-2145.20,809.54,68.98},
{-2233.90,809.84,48.82},
{-2270.64,736.77,48.82},
{-2269.46,584.38,35.52},
{-2232.24,561.70,34.53},
{-2227.88,506.82,34.55},
{-2230.85,452.69,34.52},
{-2274.16,402.25,34.24},
{-2256.68,349.16,32.47},
{-2217.25,318.75,34.70},
{-2150.78,316.12,34.68},
{-2148.42,196.08,34.69},
{-2154.87,115.83,34.70},
{-2078.75,108.29,31.95},
{-2020.10,106.85,27.20},
{-1992.52, 101.07, 27.54},
}
local districtsBus2 = {
{-2004.80, 108.46, 27.75},
{-2043.68, 110.98, 28.87},
{-2120.67, 112.17,... |