Witam pseudolarzy. Oddaje wam mapk? gie?dy kt?ra znajduje si? w LV. By?a ona robiona co? na wz?r tego co jest na 4life
Autor: xor1an
Pozdro zbyszek
SS: https://imgur.com/a/AdDCUEw
Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
Witam mam ma?y problem z gie?d? poniewa? gdy wystawi? auto i odjad? kawa?ek od tego blipu od wystawiania auto to te napisay z cen? itp. gin? pomo?e kto??
Siemano !
Mam paczk? pysa i przenosze gie?d? w inne miejsce i po przeniesieniu nie moge wystawic pojazdu nic sie nie wyswietla. Przed tem jak by?a na tym orginalnym miejscu to tez nic si? nie wyswietla?o. Nwm o co chodzi moze juz ktos mial ten sam problem.
Prosz? o pomoc.
Z g?ry Dzi?ki !
siema, chcia?bym ?eby na gie?dzie hajs zabiera?o z banku i dawa?o do banku
[lua]
--[[
Developed by Yolos and Split
All rights reserved!
You cannot use this without permission!
--]]
function RGBToHex(red, green, blue, alpha)
if((red < 0 or red > 255 or green < 0 or green > 255 or blue < 0 or blue > 255) or (alpha and (alpha < 0 or alpha > 255))) then
return nil
end
if(alpha) then
return string.format("#%.2X%.2X%.2X%.2X", red,green,blue,alpha)
else
return string.format("#%.2X%.2X%.2X", red,green,blue)
end
end
local LIMIT=3 -- tylko gracz mo?e kupi? trzy pojazdy
local cmd="sprzedaj"
local cmd2="akceptuj"
local sprzedazPojazdu={}
local marker=nil
local timer=nil
function wczytaj(v)
v.pos=split(v.pos,",")
local mkr=createMarker(v.pos[1], v.pos[2], v.pos[3]-0.90, "cylinder", 2, 88, 88, 72, 212)
setElementDimension(mkr, v.dimension or 0)
setElementInterior(mkr, v.interior or 0)
setElementData(mkr, "sprzedaz:pojazd?w", true)
setElementData(mkr,"sprzedaz:typ",2)
setElementData(mkr,"sprzedaz:owner",tonumber(v.owner))
addEventHandler ("onMarkerHit", mkr, function(el,md)
if getElementType(el) ~= "player" then return end
if getPedOccupiedVehicle(el) then return end
outputChatBox("* Aby sprzeda? pojazd: ", el)
outputChatBox("* Wpisz /sprzedaj <nick/ID> <id pojazdu> <...
Witam ot??, niezbyt dobrze ogarniam, funkcj? na gie?dach, i mam problem z wstawieniem tej linijki na pobieranie koloru lamp
linijka
[lua]getVehicleHeadLightColor[/lua]
Czy kto? by m?g? mi to wstawi? do kody, by pisa?o na opisie pojazdu KOLOR LAMP oraz Kolor danych lamp
kod
[lua]local function aktualizujdane()
if not isElementWithinColShape(localPlayer,cuboid) then return end
for i,v in ipairs(getElementsByType("vehicle",root,true)) do
if getElementData(v, "vehicle:gielda",true) then
if getElementData(v, "vehicle:id") == getElementData(v, "vehicle:id:G") then
local online=znajdzprzezuid(getElementData(v,"vehicle:owner:UID"))
if online then jest="#00FF00Online" else jest="#FF0000Offline" end
--local Pojemnosc = getElementData(v,"Pojemnosc:silnika") or "Zwykla"
zawieszenie = getElementData(v,"Zawieszenie:Pneumatyczne")
if zawieszenie == 'Tak' then
Zawie = "Zawieszenie pneumatyczne,"
else
Zawie = ""
end
lpg = getElementData(v,"Zamontowane:LPG")
if lpg == 'Tak' then
gaz = "LPG, "
else
gaz = ""
end
drzwi = getElementData(v,"vehicle:drzwidogury")
if drzwi == 'Tak' then
Drzwii = "...
Witam ot?? mam skrypt, na gie?d?, lecz chcia?bym by pokazywa?o " getVehicleUpgrades", tylko nie wiem jak to wklei? do skryptu pomo?e kto? ?
kod po stronie clienta, gdzie jest s? informacje o poje?dzie:
Cze??, mam taki problem, przenios?em z SF do FC gie?de z paczki ogrpg, je?eli jak wje?dzam w marker dawania ceny pojazdu, nie wyskakuje hud, a w debugscript 3 nic si? nie pokazuje
local text=createElement("text")
setElementPosition(text,-221.73, 1208.68, 19.74+1.3)
setElementData(text,"name","Gie?da FCnProsimy o Ustawienie Ceny,nPojazdu.")
function getPlayerName2(plr)
if not plr then return end
return getPlayerName(plr):gsub("#%x%x%x%x%x%x","")
end
Witam mam malutki problem bo mam Gie?de i Mam 2 Edit i w 1 Wpisuje Cene np. 1000 A w 2 Tune np. MK1,2,3 to Cena sie normalnie wpisuje ale Tune Jak wpisuje litery to nie dzala a jak pisze cyfry to dzala
(Musimy sobie ustawi? markery/interiory na sprzedawanie pojazd?w W SWOIM SYSTEMIE PRYWATNYCH POJAZD?W)
(Wszystkie skrypty s? napisane przezemnie).
(Podpi??em go pod bardziej znane Element Date, gdy? innym by sie pomieszalo lub nic nie potrafili zrobi?.) (Mam na my?li nowych w LUA)
[ZEZWALAM NA EDYCJE]
Witam, mam problem. Gie?da dzia?a w sam raz, lecz napotykam pewien b??d, gdy jest 2 graczy. Jeden siedzi w aucie, a drugi stoi obok niego. To je?eli osoba wejdzie do markera to tej osobie kt?ra jest w aucie wyskakuje GUI, a tej osobie kt?ra wejdzie nie wyskakuje. Chcia?bym, ?eby ob?m osobom nie wyskakiwa?o GUI gie?dowe. Pomo?ecie ? Aha i mam skrypt na opis jakby co.
function showGUI()
auto = getPedOccupiedVehicle(localPlayer)
if auto then
guiSetVisible(okno, true)
showCursor(true)
setElementFrozen(auto, true)
end
end
addEventHandler("onClientMarkerHit", marker, showGUI)
function hideGUI()
guiSetVisible(okno, false)
showCursor(false)
setElementFrozen(auto, false)
end
addEventHandler("onClientGUIClick", guzik2, hideGUI)
function wystaw()
auto = getPedOccupiedVehicle(localPlayer)
cena = guiGetText(box1)
marka = getVehicleName(auto)
przebieg = math.floor(getElementD...
local usuniecie_opisu = {
{929.29455566406, 2204.35546875, 11.58056335449},
{994.18,2200.49,10.42},
}
for k, v in ipairs (usuniecie_opisu) do
local cuboid123 = createMarker ( v[1], v[2], v[3], "cylinder", 3, 255, 255, 0, 100)
end
addCommandHandler( "vopisusun",
function ( el,md)
if not md or el ~= localPlayer then return end
if not wstep then return end
local veh=getPedOccupiedVehicle(el)
if not veh then return end
setElementData(veh,"pojazd_opis",false)
end
)