Jump to content

VenomOG

Members
  • Posts

    362
  • Joined

  • Last visited

  • Days Won

    3

VenomOG last won the day on October 11 2019

VenomOG had the most liked content!

1 Follower

About VenomOG

  • Birthday 01/11/2003

Details

  • Gang
    Original Gangsters
  • Location
    Antigua
  • Occupation
    Healthy Crackhead
  • Interests
    Lua

Recent Profile Visitors

3,371 profile views

VenomOG's Achievements

Street Cat

Street Cat (24/54)

40

Reputation

  1. VenomOG

    Pages

    not my codes. i'm just a developer . i'm looking to change it anyways but i really need to know how to do pages for other stuff for some settings and designs . can you please?
  2. VenomOG

    Pages

    Either idk what is wrong or something but heres the code function dxDrawSpawner() dxDrawRelativeLine(565 - 1, 500 - 1, 565 - 1, 717, tocolor(1, 0, 0, 255), 1, false) dxDrawRelativeLine(816, 500 - 1, 565 - 1, 500 - 1, tocolor(1, 0, 0, 255), 1, false) dxDrawRelativeLine(565 - 1, 717, 816, 717, tocolor(1, 0, 0, 255), 1, false) dxDrawRelativeLine(816, 717, 816, 500 - 1, tocolor(1, 0, 0, 255), 1, false) dxDrawRelativeRectangle(565, 500, 251, 217, tocolor(0, 0, 0, 116), false) dxDrawRelativeLine(565, 529, 816, 529, tocolor(255, 255, 255, 255), 1, false) dxDrawRelativeText("VEHICLES", 564, 499, 816, 529, tocolor(255, 255, 255, 255), 1.00, dxfont0_vel, "center", "center", false, false, false, false, false) dxDrawRelativeRectangle(579, 533, 227, 29, tocolor(98, 98, 98, 111), false) dxDrawRelativeText(" Key: Vehicle Name:", 579, 533, 806, 562, tocolor(255, 255, 255, 255), 1.10, dxfont1_KOMIKAX, "left", "center", false, false, false, false, false) dxDrawRelativeText("Press 'M' to show cursor", 565, 718, 816, 753, tocolor(255, 0,0, 236), 1.00, dxfont2_KOMIKAX, "center", "center", false, false, false, false, false) for i, k in ipairs(vehs) do dxDrawRelativeRectangle(579, 541+i*21, 227, 21, isMouseInPosition(579, 541+i*21, 227, 21) and tocolor(0, 0, 0, 200) or tocolor(0, 0, 0, 75)) dxDrawRelativeText(i, 579, 541+i*21, 625, 562+(i)*21, tocolor(255, 255, 255, 255), 1, dxfont3_KOMIKAX, "center", "center", false, false, false, false, false) dxDrawRelativeText(getVehicleNameFromModel ( tonumber (k)), 635, 541+i*21, 806, 562+(i)*21, tocolor(255, 255, 255, 255), 1.10, dxfont3_KOMIKAX, "center", "center", false, false, false, false, false) end end Check the loop.. there is where it all starts.. trying to put 7 vehicles on each page only 7
  3. VenomOG

    Pages

    Ok hello ... i'll get straight to it. what if i had a table cars = { {411,"Infernus"}, {546,"Intruder"}, } but the table is longer .. how can i only select 5 a page? each page has the rest of the vehicle?
  4. Dude its not hard , your basically just calling back the function function InEDYoU() guiSetVisible(window, true) showCursor(true, true) end addEventHandler("onClientResourceStart", resourceRoot, function() inEDYoU()----- calls the function end)
  5. VenomOG

    Pages

    Nevermind i got it...
  6. VenomOG

    Pages

    Hey so i have a inventory script and after the player has a lot of items it just over flows i wonder if there is a way i can select a specific amount of rows on each page for now its 7 lines 5 rows any help?
  7. I got it But thanks anyways
  8. So the main goal is a timer to destroy this object hijackStart = createPickup ( x,y,z, 3, 1210 ) destroytimer[hijackStart] = setTimer(function() destroyElement(hijackStart) destroyElement(hijackBlip1) startDelivery() outputMessage("Nobody has delivered the hijack in 15 minutes spawning a new one",255,100,100) end,9000000,1) addEventHandler("onPickupHit",hijackStart,function(hitElement,md) if isTimer(destroytimer[hijackStart]) then killTimer(destroytimer[hijackStart]) end end) in 15 minutes , any other way to approach this?
  9. VenomOG

    Help, please

    Is this even Lua? faggio1 = createVehicle(403,297.32913, -168.79048, 2.54699, 0, 0, 90) setElementData(faggio1, "pojazd_opis", "test \n GBA 421[SA]28") if getElementData(faggio1,"pojazd_opis") then print("it has the data") end Try explaining the code
  10. VenomOG

    No Cache

    Yes this how can i do it , as i see sometimes in huge servers i download atleast 600 mb but i never actually see what it is, that is what i wish, either changing the extension or something
  11. VenomOG

    No Cache

    Is there a way to not cache mods? .txd and .dff or something?
  12. If its a leaked DayZ, we can not help you Although as Komal said, start fresh with the respawn script then add such needed lines
  13. function dxDrawTextOnElement(TheElement,text,height,distance,R,G,B,alpha,size,font,...) local x, y, z = getElementPosition(TheElement) local x2, y2, z2 = getCameraMatrix() local distance = distance or 20 local height = height or 1 if (isLineOfSightClear(x, y, z+2, x2, y2, z2, ...)) then local sx, sy = getScreenFromWorldPosition(x, y, z+height) if(sx) and (sy) then local distanceBetweenPoints = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distanceBetweenPoints < distance) then dxDrawText(text, sx+2, sy+2, sx, sy, tocolor(R or 255, G or 255, B or 255, alpha or 255), (size or 1)-(distanceBetweenPoints / distance), font or "arial", "center", "center") end end end end addEventHandler("onClientRender", getRootElement(), function () for k,v in ipairs(getElementsByType("player")) do if v == localPlayer then return end dxDrawTextOnElement(v,getPlayerName(localPlayer),1,20,0,0,255,255,1,"default") end end) This should work.
×
×
  • Create New...