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: atex
1. Kolczatki by Atex
Ot??, pobra?em kilka razy i z jego strony i z gtao te kolczatki, lecz za ka?dym razem to samo. Je?li zmieni? np acl to Nie dodaje eventu na s side 'znajdzmiejsce' a je?li nic nie zmieni? to Nie ch?e publikowa? tutaj jego kodu, wi?c licz? na to, ?e on sam udzieli mi odpowiedzi.
2. Przebieg by AteX
Witam mam problem przebiegiem by atex, ot?? pozamiania?em wszystkie elementdaty pod m?j system i wywala mi takie co?.... http://imgur.com/FjuMMeo Jak naprawi? ?eby przebieg ograniczy? si? do : np. 11.5km?

Kod :
[lua]
local w,h = guiGetScreenSize()
local rowery = {[509]=true,[481]=true,[510]=true,}

function math.round(number, decimals, method)
decimals = decimals or 0
local factor = 10 ^ decimals
if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor
else return tonumber(("%."..decimals.."f"):format(number)) end
end

function hud()
local v = getPedOccupiedVehicle(localPlayer)
if v then
local sx,sy,sz = getElementVelocity(getPedOccupiedVehicle(localPlayer))
local kmhs = math.ceil(((sx^2+sy^2+sz^2)^(0.5))*155)
local fuel=getElementData(v,"vehicle:fuel") or 0
local mileage=getElementData(v,"vehicle:mileage") or 0

-- ogolne
dxDrawImage(w * 0.8177, h * 0.7685, w * 0.1823, h * 0.2315, "images/spdmeter1.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage(w * 0.8625, h * 0.8231, w * 0.1448, h * 0.1296, "images/wskaznik.png", kmhs+320, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage(w * 0.8250, h * 0.9324, w * 0.0510, h * 0.0454, "images/wskaznik.png", fuel+30, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawText(mileage.."km", w ...