Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Little help .

    It has it there. http://www.upload.ee/files/1553828/toolbox.rar.html
  2. Castillo

    Little help .

    viewtopic.php?f=108&t=34878 Not sure if that's what you mean.
  3. Castillo

    Little help .

    What do you mean by "toolbox"?
  4. Well, you can attach objects to players.
  5. It doesn't make a difference, as far as I know. Edit: No, I was wrong, you can't use "\" instead of "/", but you can use "\\".
  6. No, that's not required.
  7. Edit the scoreboard script.
  8. That's strange, since according to fileExists function, the file exists.
  9. addEventHandler ( "onClientRender", root, function ( ) local Rankicon = getElementData ( localPlayer, "Rankicon" ) if ( Rankicon and fileExists ( Rankicon ) ) then local size = dxGetFontHeight ( ( 0.7 / 1366 ) * sWidth, "bankgothic" ) dxDrawImage ( ( 557 / 1024 ) * sWidth, ( 745 / 768 ) * sHeight, size, size, Rankicon ) end end )
  10. You already did, but in that script, you are doing it twice, and wrong.
  11. Maybe because you are using the path wrong? in element data you are storing everything, path included, and then in dxDrawImage/fileExists you are adding the path again ( along with the saved path ), do you get what I mean?
  12. Castillo

    Converter

    And in case that one goes down ( it was down days ago ), you can use this one: http://convertffs.com/.
  13. Castillo

    execute

    getRootElement doesn't return a player element, and executeCommandHandler needs a PLAYER element.
  14. Castillo

    execute

    It must be a player, and getRootElement is not.
  15. That's because you made the variables local, that means they wont' exist outside "mainWindowl" function.
  16. Castillo

    execute

    How are you triggering the event: "restartami"?
  17. That makes no sense, you must use the onMarkerHit event.
  18. Castillo

    DropMoney

    No tiene ningun sentido el script ese.
  19. Have you edited the script?
  20. I'm not sure, but maybe you could use coroutines. http://lua-users.org/wiki/CoroutinesTutorial
  21. Well, obviously you only removed that code, but it was being used on different parts of the game mode, so you have to remove these aswell.
  22. I don't understand, you want to create an image inside a checkbox?
  23. I'm I right when I think that what you are trying to do is execute that code when you click on something you drawn with the DX functions? if so, that's not how it works.
×
×
  • Create New...