Jump to content

NeRo-_-

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by NeRo-_-

  1. NeRo-_-

    HELP

    Got this warning: the code 123: 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=znajdzprzezsid(getElementData(v,"vehicle:owner:SID")) if online then jest="#007affDostępny (ID: "..getElementData(online,"id")..")" else jest="#FF0000Niedostępny" end local desc=string.format("#FFFFFFID Auta: #007aff%d\n#FFFFFFPojazd: "..RGBToHex( 0, 122, 255,false).."%s"..RGBToHex(0, 122, 255).."\n#FFFFFFCena: #007aff%d PLN\n#FFFFFFPrzebieg: #007aff%dkm\n#FFFFFFSprzedający: #007aff%s\n#FFFFFFStatus sprzedającego: %s\n#FFFFFFAby sprawdzić informacje nt. tego pojazdu wpisz: #007aff/v.info", tonumber(getElementData(v, "vehicle:id")), getElementData(v, "vehicle:nazwa:G"), tonumber(getElementData(v, "vehicle:cena:G")), getElementData(v,"vehicle:mileage"), getElementData(v,"vehicle:owner:G"), jest) gielda[v] = desc end end end end the code 182: addEventHandler("onClientColShapeHit",cuboid,function(el,md) if not md then return end if el ~= localPlayer then return end if isEventHandlerAdded("onClientRender",root,renderinge) then removeEventHandler("onClientRender",root,renderinge) end addEventHandler("onClientRender",root, renderinge) timerke = setTimer(aktualizujdane,3000,0) end) the code 193: addEventHandler("onClientColShapeLeave",cuboid,function(el,md) if not md then return end if el ~= localPlayer then return end if isEventHandlerAdded("onClientRender",root,renderinge) then removeEventHandler("onClientRender",root,renderinge) end --if isTimer(timerke) then killTimer(timerke) end end) the code 201: addEventHandler("onClientColShapeHit", cuboid, function(el,md) if not md or el ~= localPlayer then return end if wstep then return end wstep=true end) the code 207: addEventHandler("onClientColShapeLeave", cuboid, function(el,md) if getElementData(el,"vehicle:gielda") then gielda[el] = false end if not md or el ~= localPlayer then return end if not wstep then return end local veh=getPedOccupiedVehicle(el) if veh then --setElementData(veh,"vehicle:desc",false) setElementData(veh, "vehicle:gielda",false) end end)
  2. NeRo-_-

    Please help

    hello, will you help me again?
  3. NeRo-_-

    Please help

    THANKS YOU ARE BEST <333
  4. NeRo-_-

    Please help

    can you help me with the second script? code 107 and 108: dxDrawImage(440*w, 237*h, 400*w, 550*h, "files/interakcja-psrpg.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText(w1, 526*w, 348*h, 816*w, 384*h, tocolor(r1, r12, r13, 255), 1.00*w, font, "left", "center", false, false, false, false, false) dxDrawText(w2, 526*w, 422*h, 816*w, 458*h, tocolor(r2, r22, r23, 255), 1.00*w, font, "left", "center", false, false, false, false, false) code 117 and 118: dxDrawText(w3, 526*w, 496*h, 816*w, 532*h, tocolor(r3, r32, r33, 255), 1.00*w, font, "left", "center", false, false, false, false, false) dxDrawText(w4, 526*w, 570*h, 816*w, 606*h, tocolor(r4, r42, r43, 255), 1.00*w, font, "left", "center", false, false, false, false, false) dxDrawText(w5, 526*w, 644*h, 816*w, 680*h, tocolor(r5, r52, r53, 255), 1.00*w, font, "left", "center", false, false, false, false, false) dxDrawText(w6, 526*w, 718*h, 816*w, 754*h, tocolor(r6, r62, r63, 255), 1.00*w, font, "left", "center", false, false, false, false, false) else setElementData(localPlayer,"maksymalny_wybor",3) end end
  5. NeRo-_-

    Please help

    this is code: local font = dxCreateFont(":dG-Fonty/1.ttf", 10) local screenW, screenH = guiGetScreenSize() local sx, sy = guiGetScreenSize() local pieniadze = 0 mojeW,mojeH = 1280, 1024 sW,sH = guiGetScreenSize() w, h = (sW/mojeW), (sH/mojeH)
  6. NeRo-_-

    Please help

    still the same error sorry,this is code. function pokazBankomat() local alph = interpolateBetween(0, 0, 0, 255, 0, 0, (getTickCount() - tick)/1000, "OutQuad") dxDrawImage(440*w, 301*h, 400*w, 430*h, "bankomat-psrpg.png", 0, 0, 0, tocolor(255, 255, 255, alph), false) dxDrawText(guiGetText(pasek),520*w, 496*h,w,h,tocolor(255,255,255,alph),1.00*w, font) dxDrawText(""..pieniadze.." PLN", 520*w, 406*h, 784*w, 442*h, tocolor(255, 255, 255, alph), 1.00*w, font, "left", "center", false, false, false, false, false) end still the same error sorry,this is code. function pokazBankomat() local alph = interpolateBetween(0, 0, 0, 255, 0, 0, (getTickCount() - tick)/1000, "OutQuad") dxDrawImage(440*w, 301*h, 400*w, 430*h, "bankomat-psrpg.png", 0, 0, 0, tocolor(255, 255, 255, alph), false) dxDrawText(guiGetText(pasek),520*w, 496*h,w,h,tocolor(255,255,255,alph),1.00*w, font) dxDrawText(""..pieniadze.." PLN", 520*w, 406*h, 784*w, 442*h, tocolor(255, 255, 255, alph), 1.00*w, font, "left", "center", false, false, false, false, false) end
  7. NeRo-_-

    Please help

    Got this warning: the code: function showBank machine () local alph = interpolateBetween (0, 0, 0, 255, 0, 0, (getTickCount () - tick) / 1000, "OutQuad") dxDrawImage (440 * w, 301 * h, 400 * w, 430 * h, "atm-psrpg.png", 0, 0, 0, tocolor (255, 255, 255, alph), false) dxDrawText (guiGetText (bar), 520 * w, 496 * h, w, h, tocolor (255,255,255, alpha), 1.00 * w, font) dxDrawText ("" .. money .. "PLN", 520 * w, 406 * h, 784 * w, 442 * h, tocolor (255, 255, 255, alph), 1.00 * w, font, "left", "center", false, false, false, false, false) end Please Help Me, I don't know what to do, I'm green on these things
×
×
  • Create New...