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: stoi
1. Powiekszenie miejsca (w ktorym stoi auto do robienia tuningu
Siemka,
chcialbym Was poprosic o pomoc, a mianowicie chcialbym powiekszyc miejsce w ktorym stoi auto do robienia tuningu, lecz nie wiem gdzie ise to robi. Pomzoe ktos? Daje repke i Warke

[lua]local stanowiskaSwiatla = {
stanowiskoDoherty={
mpos={1781.47,-1933.86,13.39-0.7}, -- marker
cpos={1778.44,-1925.32,13.65,359.9,360.0,179.3, 2}, -- cuboid
job_id="Tuner-SF", -- (id) frakcja kt?ra b?dzie mia?a dost?p
text="Monta? tuningu"
},
}
niewspiera_tuningu = {
[503] = true,
}
for i,v in pairs(stanowiskaSwiatla) do
v.cuboid=createColCuboid(unpack(v.cpos))
v.marker=createMarker(v.mpos[1], v.mpos[2], v.mpos[3]-0.60, "cylinder", 1.5, 0, 50, 205, 50)
setElementData(v.marker,"marker:duty",v.job_id)
setElementData(v.marker,"marker:cuboid",v.cuboid)

t=createElement("text")
setElementData(t,"name",v.text)
setElementPosition(t,v.mpos[1], v.mpos[2], v.mpos[3])
addEventHandler("onMarkerHit", v.marker, function(el,md)
if getElementType(el)~= "player" then return end
local cs=getElementData(source, "marker:cuboid")
if not cs then return end
local job=getElementData(source,"marker:duty")
local ljob=getElementData(el,"player:duty")
if job ~= ljob then
outputChatBox(" Nie jeste? zatrudniony w tym warsztacie.", el, 255, 0, 0)
return
end
local vehicles=getElementsWithinColShape(cs,"vehicle")
if #ve...