Jump to content

..:D&G:..

Members
  • Posts

    1,028
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ..:D&G:..

  1. Ok so, I decided not to take windows as it costs a lot (£107) and they will install a trial anyway to do the tests, so I can install windows myself. That saved me a lot of money, money is not really a problem, but I don't want to spend more on building then on buying, because I saw nearly the same specs and 1TB memory for £500. Anyway, these are the motherboards available: Also, for the cooler I was thinking of going with Super Quiet 22dBA Triple Copper Heatpipe Intel CPU Cooler, the rest are liquid/hydro coolers, and I don't want to risk spillage
  2. Ok so, I down graded to 8GB ram and upgraded the power supply to an CORSAIR 650W CS SERIES™ MODULAR 80 PLUS® GOLD, ULTRA QUIET Thanks for advice One question tho, why is i5 better than i7? i7 it's newer than i5.
  3. I selected 2GB ram because I know someone that has 8GB rams and could lend me 2 of them, but I changed the specs and got a 16GB ram and downgraded from i7 to i5-4690. Also, I asked the people from pc specialist and they told me that I do not require a higher voltage PSU, the maximum I need is 480, so I'll stay with 550, also, they only have corsairs.. I am mostly worried about the graphics card, do you think that this 3GB AMD RADEON™ R9 280X - DVI, HDMI, mDP - DX® 11, Eyefinity 4 Capable is any good?
  4. For you? Depends on the budget. I mean, what's the best graphics card on performance? And here is a pic with the specs: All this costing £769.00 with VAT and everything.
  5. So, I decited to go with pcspecialist and customise a pc with them. The PC I made is about £800 and here is the quote if you want to have a look: https://www.pcspecialist.co.uk/quotes/779247/ Btw, which graphics card do you guys think is the best?
  6. I know, but how do I do, so the labels will not be created as many times as I click the button? I want them to be created only once, even if I click the buton twice
  7. Hello guys, I got some problems with my login script. I made the buttons with labels, and when I click a label, I need to destroy the old gui elements, and create new ones, the problem it that if I click the label 2 or 3 times, it creates the same elements 2 or 3 times on top of each other, and when I click another button, only the first elements destroy, but the rest remain visible. addEventHandler('onClientGUIClick', getRootElement(), function(button, state, absoluteX, absoluteY) if(source == bInregistrare)then if(button == 'left') then guiSetVisible (lLogUsername, false) guiSetVisible (lLogUsernameNote, false) guiSetVisible (tLogUsername, false) guiSetVisible (lLogPassword, false) guiSetVisible (tLogPassword, false) guiSetVisible (chkRemember, false) guiSetVisible (bLogin, false) guiSetVisible (bTitlu, false) guiSetVisible (lText, false) guiSetVisible (lTitlu, false) guiSetVisible (bText, false) lRegUsername = guiCreateLabel(367, 290, 93, 15, "Username:", false, windowMain) guiSetFont(lRegUsername, "default-bold-small") lRegUsernameNote = guiCreateStaticImage(569, 377, 76, 30, ":guieditor/images/examples/fereastra6.png", false, windowMain) guiSetAlpha(lRegUsernameNote, 0.60) tRegUsername = guiCreateEdit(460, 290, 185, 19, "", false, windowMain) guiEditSetMaxLength(tRegUsername, 16) lRegPassword = guiCreateLabel(417, 319, 43, 15, "Password:", false, windowMain) guiSetFont(lRegPassword, "default-bold-small") tRegPassword = guiCreateEdit(460, 319, 185, 19, "", false, windowMain) guiEditSetMasked(tRegPassword, true) guiEditSetMaxLength(tRegPassword, 29) lRegPassword2 = guiCreateLabel(376, 348, 84, 15, "Repeat Password:", false, windowMain) guiSetFont(lRegPassword2, "default-bold-small") tRegPassword2 = guiCreateEdit(460, 348, 185, 19, "", false, windowMain) guiEditSetMasked(tRegPassword2, true) guiEditSetMaxLength(tRegPassword2, 29) bRegister = guiCreateLabel(0, 0, 76, 30, "Register", false, lRegUsernameNote) guiSetFont(bRegister, "default-bold-small") guiLabelSetHorizontalAlign(bRegister, "center", false) guiLabelSetVerticalAlign(bRegister, "center") addEventHandler("onClientGUIClick", bRegister, registerAccount, false) end end end) Any ideas?
  8. I tried Googleing it up, but the only thing I was were viruses, they told me that I have to replace some dll files from system32 I reinstalled .NET but still the error persists.
  9. Forget it, I'll just make my own PC from scratch Anyone know a cool and cheap case?
  10. Here: function renderInteraction() for index, he in pairs(getElementsByType("object")) do if (getElementModel(he) == 2754) then local x, y, z = getElementPosition(he) local sx, sy = getScreenFromWorldPosition(x, y, z, 200, false) local r, g, b = 255, 255, 255 if(sx) and (sy) then if(getElementType(he) == "object") then sx = sx-50 sy = sy-130 end -- sx = sx+100 local x2, y2, z2 = getElementPosition(localPlayer) local dis = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) -- RECTANGLE -- dxDrawRectangle(sx-70, sy, 130-(dis*10), 130-(dis*10), tocolor(0, 0, 0, 100)) dxDrawImage(sx-70, sy, 130-(dis*10), 130-(dis*10), "rahmen.png", 0, 0, 0, tocolor(255, 255, 255, 255)) -- Strich -- dxDrawRectangle(sx-70, sy+30, 130-(dis*10), 1, tocolor(0, 0, 0, 250)) -- TEXT -- local titel, beschreibung = "", "" if(getElementType(he) == "object") then titel = " Coins Exchange\n Machine" beschreibung = "Exchange coins into cash!" r, g, b = 255, 255, 0 end local scale = 2/dis if(scale > 0.9) then scale = 0.95 end dxDrawText(titel, sx-65, sy+2, 100-(dis*10), 100-(dis*10), tocolor(r, g, b, 200), scale, "default-bold", "left", "top", false, true) dxDrawText(beschreibung, sx-65, sy+50, 100-(dis*10), 130-(dis*10), tocolor(255, 255, 255, 200), scale, "default-bold", "left", "top", false, true) end end end end addEventHandler("onClientRender", getRootElement(), renderInteraction)
  11. I was thinking of changing the case, but found out that the inspiron parts will not fit in another case, I guess I have to save up and make a PC which the minor parts from the inspiron and I'll buy the major parts. But maybe someone else knows a better alternative?
  12. Hello guys, after I installed windows 7 on my PC that had windows vista, I get this error on some games and programs like Camstudio. The application was unable to start correctly (0xc000007b). Any ideas how to fix it? Maybe someone else has this problem, most people from here are gamers and maybe encountered this error.
  13. The thing is that inspiron 530 has only 2 motherboards, and none of them support the i3 or i5 series. Also, Radeon HD7850 has only 2GB dedicated memory, and I want at least 3GB just to make sure I can run games on medium at least, with a decent FPS and maybe no lag.
  14. You can save data in Xml files: https://wiki.multitheftauto.com/wiki/Xml Also, I think you can make any file you want and save data in it. https://wiki.multitheftauto.com/wiki/FileRead
  15. That didn't change anything. Here is what I done: for index, he in pairs(getElementsByType("object")) do if (getElementModel(he) == 2754) then local x, y, z = getElementPosition(he) local sx, sy = getScreenFromWorldPosition(x, y, z, 200, false) local r, g, b = 255, 255, 255 if(sx) and (sy) then if(getElementType(he) == "object") then sx = sx-50 sy = sy-130 end -- sx = sx+100 local x2, y2, z2 = getElementPosition(localPlayer) local dis = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) But maybe there is something wrong with the dx part? local scale = 2/dis if(scale > 0.9) then scale = 0.95 end dxDrawText(titel, sx-65, sy+2, 100-(dis*10), 100-(dis*10), tocolor(r, g, b, 200), scale, "default-bold", "left", "top", false, true) dxDrawText(beschreibung, sx-65, sy+50, 100-(dis*10), 130-(dis*10), tocolor(255, 255, 255, 200), scale, "default-bold", "left", "top", false, true) end And here is a picture of what is happening: http://4stor.com/owWvH
  16. I found the problem. I was getting the value from a grid that was previously destroyed, and not from the guy that is visible
  17. It worked, but now if I am far away from the objects, the boxes from every object gets bigger and on my screen instead of getting smaller and disappearing as I get away from the object
  18. Hello, I am trying to make a function that adds a 3D, dxDrawn box with text on an object (id 2754) but next to it... function renderInteraction() local he = (getElementModel(source) == 2754) if(isElement(he)) and (isPedInVehicle(localPlayer) == false) then local x, y, z = getElementPosition(he) local sx, sy = getScreenFromWorldPosition(x, y, z, 500) local r, g, b = 255, 255, 255 if(sx) and (sy) then if(getElementType(he) == "object") then sx = sx-50 sy = sy-130 end -- sx = sx+100 local x2, y2, z2 = getElementPosition(localPlayer) local dis = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) -- RECTANGLE -- dxDrawRectangle(sx-70, sy, 100-(dis*10), 130-(dis*10), tocolor(0, 0, 0, 100)) dxDrawImage(sx-70, sy, 100-(dis*10), 130-(dis*10), "[wattz]realism-system/rahmen.png", 0, 0, 0, tocolor(255, 255, 255, 255)) -- Strich -- dxDrawRectangle(sx-70, sy+20, 100-(dis*10), 1, tocolor(0, 0, 0, 250)) -- TEXT -- local titel, beschreibung = "", "" if(getElementType(he) == "object") then titel = "Coins Exchange Machine" beschreibung = "Schimbă monedele în\nbani! (Click Dreapta)" r, g, b = 255, 255, 0 end local scale = 2/dis if(scale > 1) then scale = 1 end dxDrawText(titel, sx-60, sy+2, 100-(dis*10), 100-(dis*10), tocolor(r, g, b, 200), scale, "default-bold", "left", "top", false, true) dxDrawText(beschreibung, sx-60, sy+50, 100-(dis*10), 130-(dis*10), tocolor(255, 255, 255, 200), scale, "default-bold", "left", "top", false, true) end end end addEventHandler("onClientRender", getRootElement(), renderInteraction) There are not errors but it doesn't work. I know that local he = (getElementModel(source) == 2754) won't work, but what else can I use to get all the objects (2754) from the world and attach the box next to them? Thank you.
  19. Same thing... This is what I done for the client side, maybe is something wrong with it? function proceedCEM( button, state ) if ( button == "left" and state == "up" ) then if (guiRadioButtonGetSelected(option1)) then triggerServerEvent("exchangeOption1", root) closeCEM()
×
×
  • Create New...