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: zbagowane
1. Zbagowane eazy shop w paczce its you world 2k17
Witam,bo mam taki problem ?e mam skrypt eazy tuning shop z its you world 2k17
i jak wjade do markeru i klikam np zamontuj 4x4 to potem mi pisze ?e jest w przecho a go nie ma nigdze.
Za pomoc daje :piwo:
KOD:
[lua]elements = {}
elements["positions"] = {
["EZ 3"]={
marker = {-2124.25, -166.13, 35.32},
cuboid = {-2124.25, -166.13, 35.32, 4},
text = "Monta? wzmocnie?"
},
}

local napis=createElement("text")
setElementData(napis, "name", "Lakiernia specjalnannPaintjob (0-3) - 50k - 100knPaintjob (x) - 30k")
setElementPosition(napis, -2124.25, -166.13, 35.32)

for i,v in pairs(elements["positions"]) do
v.cuboid = ColShape.Sphere(unpack(v.cuboid))
v.marker = Marker(v.marker[1], v.marker[2], v.marker[3]-0.90, "cylinder", 3, 0, 0, 0, 100)
end

addEvent("pj0", true)
addEventHandler("pj0", getRootElement(), function()
local hajs = getPlayerMoney(source)
local ccar = getPedOccupiedVehicle(source)
local cena = 50000

if getElementData(ccar, "vehicle:ownedPlayer") == getElementData(client, "player:sid") then
if hajs < cena then triggerClientEvent(client, "onClientAddNotification", client, "Nie sta? Ci? aby zakupi? tej PaintJob!", "error") return end
local id = getElementData(ccar, "vehicle:id")
if not id then triggerClientEvent(client, "onClientAddNotification", client,...