Jump to content

undefined

Members
  • Posts

    500
  • Joined

  • Last visited

Everything posted by undefined

  1. dxDrawRectangle(sWidth-185,sHeight-128.5, 154, 6.5, tocolor ( 0, 0, 0, 0 ), false) -- Armor Bar dxDrawRectangle(sWidth-183,sHeight-127,lineaarmor,3.5,tocolor(255,255,255,200) ,false) --Armor try this not sure if what you want Hahaha Are you intelligent?
  2. dxDrawRectangle(sWidth-185,sHeight-128.5, 154, 6.5, tocolor ( 0, 0, 0, 150 ), false) -- Armor Bar dxDrawRectangle(sWidth-183,sHeight-127,lineaarmor,3.5,tocolor(255,255,255,200) ,false) --Armor
  3. Hi Guys. I have a problem. Armor Rectangle does not disappear when finished. Please give me code...
  4. Im added this code local sWidth, sHeight = guiGetScreenSize() This is worked but after coming to the screen does not go anymore. local sWidth, sHeight = guiGetScreenSize() local show = false local tick = getTickCount ( ) local endTick = nil addEventHandler("onClientRender", root, function ( ) if ( getTickCount ( ) - tick >= 300000 ) then show = true endTick = getTickCount ( ) + 30000 if ( getTickCount ( ) >= endTick ) then show = false tick = getTickCount ( ) end end if ( show ) then dxDrawImage((sWidth/2)-250, sHeight-sHeight-15, 160, 140, ":Jack/images/HubbubGames.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage((sWidth/2)+90, sHeight-sHeight-15, 160, 140, ":Jack/images/HubbubGames.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((sWidth/2+120), sHeight-sHeight+65, (sWidth/2-120), sHeight-sHeight+65, tocolor(255, 255, 255, 255), 1, false) dxDrawText("Welcome To", (sWidth/2), 0, (sWidth/2), 31, tocolor(255, 255, 255, 255),1.00, "bankgothic", "center", "top", false, false, false) dxDrawText("Hubbub Games", (sWidth/2), 31, (sWidth/2), 62, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false) dxDrawText("New Forum Adress:", (sWidth/2), 72, (sWidth/2), 89, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false) dxDrawText("www.HubbubGames.com", (sWidth/2), 89, (sWidth/2), 106, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false) end end ) ...Sry my bad English...
  5. Hi Guys. I did a design. 300000 milliseconds want it to appear but I couldn't. HD: http://i.hizliresim.com/eo0dZb.png My Code: local sWidth, sHeight = guiGetScreenSize() addEventHandler("onClientResourceStart", resourceRoot, function() end ) addEventHandler("onClientRender", root, function() dxDrawImage((sWidth/2)-250, sHeight-sHeight-15, 160, 140, ":Jack/images/HubbubGames.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage((sWidth/2)+90, sHeight-sHeight-15, 160, 140, ":Jack/images/HubbubGames.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((sWidth/2+120), sHeight-sHeight+65, (sWidth/2-120), sHeight-sHeight+65, tocolor(255, 255, 255, 255), 1, false) dxDrawText("Welcome To", (sWidth/2), 0, (sWidth/2), 31, tocolor(255, 255, 255, 255),1.00, "bankgothic", "center", "top", false, false, false) dxDrawText("Hubbub Games", (sWidth/2), 31, (sWidth/2), 62, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false) dxDrawText("New Forum Adress:", (sWidth/2), 72, (sWidth/2), 89, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false) dxDrawText("www.HubbubGames.com", (sWidth/2), 89, (sWidth/2), 106, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false) end ) Help Me Pls!!!
  6. Thank you Castillo. It's solved.
  7. I've added oxygen. However, it seems out of the water while. I added this code. However, the script did not work. if isElementInWater(source) then dxDrawRectangle(sWidth-185,sHeight-90.5, 154, 6.5, tocolor ( 0, 0, 0, 150 ), false)-- Oxygen Bar dxDrawRectangle(sWidth-183,sHeight-89,OxygenBar,3.5,tocolor(0,200,255,250) ,false) -- Oxygen end
  8. Hey Guys. I did a hud but I have one missing. How to breath bar should I do? ...Sry to my bad English...
  9. it's solved. Thank you. Please locked topic.
  10. I'm looking at the wiki page. I tried something but I could not. Please help me bro.
  11. local weapons = { [ "Melee" ] = {1,0,1},{5,0,1},{6,0,1},{8,0,1}, [ "Handguns" ] = {23,300,100},{22,400,100},{24,500,100}, [ "Shotguns" ] = {25,1000,100},{26,1500,100},{27,1700,100}, [ "Sub-Machine" ] = {28,2000,100},{32,2100,100},{29,2200,100}, [ "Machine Guns" ] = {30,2500,100},{31,3000,100}, [ "Rifles" ] = {33,3500,100},{34,5500,100}, [ "Projectiles" ] = {16,15000,15},{40 and 39,500,1},{46,0,1}} Nothing has changed. Yet in all 'gridlist'. And how to use guiGridListClear ?
  12. Oh thnx. But how to clear gridlist?
  13. Whats still the problem? When a player selects a category, you just insert all the weapons into the main gridlist. When he changes to another category, you clear the gridlist and insert the weapons of the new category. I'm new to scripter do not know much. Already in the old shop 'TabPanel than I did. I'm about to work so much simpler. Could you give me an example?
  14. undefined

    HELP!!

    function mods() local txd = engineLoadTXD ('(yourfile.txd)') engineImportTXD(txd,(weapon - skin - vehicle, object ID) local dff = engineLoadDFF('(yourfile.dff)') engineReplaceModel(dff,weapon - skin - vehicle, object ID) local col = engineLoadCol('(yourfile.col)') engineReplaceModel(col,object ID) end addEventHandler('onClientResourceStart',getResourceRootElement(getThisResource()),mods) Example function mods() local txd = engineLoadTXD ('files/1.txd') engineImportTXD(txd,56) local dff = engineLoadDFF('files/1.dff',56) engineReplaceModel(dff,56) end addEventHandler('onClientResourceStart',getResourceRootElement(getThisResource()),mods)
  15. You want the weapons to be sorted into their categories? Guess u have to sort them first into a table and then just add the to the Main gridlist, but only the ones that fit to the selected item. And don't forget to clear the gridlist. 1--> Yes 2--> Im a new scripter. I'm usually modeled scripts. Can you give examples of bi so?
  16. Hi Guys. This script previously I did with"TabPanel" . I don't like the design for the changing. Images; But I have some problems. When I click on the melee, I want to appear only melee weapons. And I made a separate post for each weapon. Their "memo" I want you to look at. ...Sry to my bad English...
×
×
  • Create New...