Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. He most likely stole it from somewhere.
  2. Anderl

    Help

    Yes. Create an object, double click it and change the "Dimension" box.
  3. This isn't really compiling, just some code converted to bytes and then to decimal. To get the real code back, you just need some very basic knowledge and it ends up being as easy as decompiling a script.
  4. That is a DirectX functions-based lib so GUI functions obviously won't work. You need to edit the "textlib.lua" file in the 'race' resource.
  5. I'm doing a timer library for both client and server sides (creating, pausing, stopping timers and some other things I will think about later) and that was the only idea I had.
  6. Still, it's based on Valhalla gamemode (if I understood your Google Translate's text correctly), and we don't give support with these scripts - even if someone tries to help you, a moderator will come and lock the thread soon.
  7. These resource and exported function names makes me remember of Valhalla gamemode..
  8. Hey, Today I was just thinking about some little idea I had, but then I ran into a problem which I can't seem to be able to solve: I need something like the onClientRender on the server side but the only way I found for this was to trigger a client event, but then I would run into another problem because triggering a client event isn't instant, it has a little delay and even though it may be a very little milliseconds difference, it will make a huge change. I thought about getting the amount of time the system has been running for, then in the client event's function get it again and compare to find out the time passed and take it from the already counting time (it's timers-related, it will start counting the time as soon as the timer is created) but how's if the user specifies an interval smaller than the time passed? Also, triggering a client event to check time passed, but have everything else saved on the server side doesn't seem like a very good idea. Thanks, and please people that have no idea what they're saying, simply don't answer.
  9. That doesn't even make sense.
  10. I'm talking about arrays, it has completely nothing to do with what is written on the file.
  11. The error says everything, you're trying to access a field/index that doesn't exist.
  12. Anderl

    question

    External functions for color codes in DirectX-rendered texts ARE NOT needed anymore. Take a look at dxDrawText's wiki page.
  13. Anderl

    question

    You don't need that function, dxDrawText already supports multiple colors in one text.
  14. Anderl

    Greetz!

    Google Translate did a nice job, ahahah
  15. Anderl

    question

    I think he wants to change only the color of the map name, not the whole text's color.
  16. Towncivilian asked you to run MTADiag and enter 'n' when asked if MTA works, not what happens when you open MTA.
  17. I was about to join the IRC channel to ask that. Btw, the community is now offline.
  18. By the way, just noticed now: third argument of aclSetRight (access) must be a boolean value, not a string.
  19. Just a side note: You can do your script in OOP and create a new element type for bots, so you don't have to loop through all players.
  20. Perhaps you aren't passing the right values to the event's function?
  21. It is, 'not state' will return the opposite boolean value. That means, if the engine is on (returns 'true'), 'not state' "returns" the opposite boolean value 'false' and vice versa.
×
×
  • Create New...