Jump to content

Dice

Members
  • Content Count

    103
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Dice

  • Rank
    Punk-@ss B*tch

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. blackband1 = engineLoadTXD("bandblack.txd") engineImportTXD(blackband1,30217) banddff = engineLoadDFF("bandana.dff",30217) engineReplaceModel(banddff,30217) Why is this crashing? regarding this https://wiki.multitheftauto.com/wiki/Cl ... ponent_IDs
  2. Dice

    get selected items

    Thanks TAPL works great. I don't get the dummy variable tho.
  3. function sendListToPlayer() tbl = guiGridListGetSelectedItems ( newrlist ) for k,v in pairs ( tbl ) do selName = guiGridListGetItemText ( newrlist, tbl[k].row, 1 ) selUrl = guiGridListGetItemText ( newrlist, tbl[k].row, 2 ) outputChatBox ( selName .. " " .. selUrl ) end end example problem, when function executes if the selName is "who" and selUrl is "where" then it ouputs who where who where even though i only have one item selected. again i know why it is happening but i
  4. Dice

    Table Dialogs

    Thank U! btw destroyElement is not fine.
  5. Dice

    Table Dialogs

    what? That's not the problem here. It closes fine. The problem is i have so many windows open, once i close one it ignores the rest of them.
  6. Dice

    Table Dialogs

    dialogs = {} function createAttentionDialog ( text ) index = index + 1 if not dialogs[index] then dialogs[index] = {} else return createAttentionDialog ( text ) end local screenW, screenH = guiGetScreenSize() -- tabs = #dialogs[index] + 1 dialogs[index].window = guiCreateWindow((screenW - 386) / 2, (screenH - 185) / 2, 386, 185, "Attention!", false) -- guiWindowSetSizable(dialogs[1].window, false) dialogs[index].okbutton = guiCreateButton(87, 127, 89, 24, "OK", false, dialogs[index].window) dialogs[index].lbl = guiCreateLa
  7. for i = 1,#tab do outputChatBox ( tab[i][1] .. " " .. tab[i][2] ) end
  8. yeah I know that method but the thing is, I am using table.insert so the sizes can vary, how can i make sure it gets it all.
  9. example tab = { { "nme", "text"}, { "nme2", "text2"}, { "nme3", "text3"} } I want to print nme, txt for each table.
  10. well it was a custom button, dxDraw wouldn't be the best. oh well thanks!
  11. static images? not setElementRotation. What else can i use?
  12. when maximize is clicked... setTimer ( function() local x, y = guiGetSize ( win, false ) if y <= 537 then guiSetSize ( win, x, y + 0.04, false ) end end, 50, 0 ) the code literally does nothing. would onClientRender do the trick?
  13. Dice

    xml bad argument

    Doesn't work! Everytime i use these functions it's the same problem
  14. Dice

    xml bad argument

    i know. this is clientsided btw. Test="12345"
  15. Dice

    xml bad argument

    That's it really. 'filename' is already in the file.
×
×
  • Create New...