Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. myonlake

    help me

    It seems to be hashed with some salt and then compiled after that. Very genius person whoever made that script, I was about to do something like that as well.
  2. ccw replied already, that he is trying to fix your issue. Please hang on patiently until he replies again.
  3. Instead of explaining its surface and giving us the code, could you explain us what happens in the code.
  4. myonlake

    Advice

    There is no "MTA Lua" in the universe, it's just Lua. MTA is a modification, and you can script client and server-sided codes into a server. You can also implement modules scripted in C++. The first thing I suggest is to read and understand the basics of Lua. Here is a list of good tutorials: viewtopic.php?f=148&t=40809. Read the recommended tutorials first, and then proceed to the other stuff if you have time and want to experience all the things. The last thing you should do is to get in the MTA client/server scripting. The functions and events and small starting tutorials can be found here https://wiki.multitheftauto.com/wiki/Main_Page.
  5. myonlake

    Community Bug

    You cannot fix that, it's not even a bug. It's a simple re-sending of a dynamic web page form. Unless those websites have an Ajax system, it's not possible. i can go back on every single page except mta community That's probably because you haven't submitted any type of dynamic web page forms or the websites are using Ajax (for example, Facebook and Twitter and such).
  6. Exactly. Try to lift it with the setElementPosition function.
  7. I have had issues with events before and the only thing that worked for me was to create a new Lua file and put the contents of the old one in the new one. I think you have accidentally switched the compilation to something else, which doesn't understand what you're doing.
  8. Injecting pre-definitions into the C++ code of MTA and then comparing the speed to Lua local variables, I don't see much of a difference. Honestly speaking, if you have a problem with 1µs speed difference, then I don't get it.
  9. donations for the development Multi Theft Auto It does not mean they will eventually add what you ask. They are not responsible for adding it in the game at all. This should be in their Terms and Conditions -page if there are any - I think I saw it as an announcement on the Bug Tracker front page, not sure. But even if you asked for a recording system, it doesn't mean it will be added, of course they will discuss and probably put up a MTA team voting on it. But who would want this to become part of MTA? Can you tell me why can't you use some freeware programs to record your in-game screen? I don't see your suggestion first, a good one, and secondly it's a very unnecessary suggestion. I have a right to give my vote out and I am going to vote no on this. We want to keep MTA lightweight and that's just the beginning. You can ATTEMPT, but not insist.
  10. myonlake

    Community Bug

    You cannot fix that, it's not even a bug. It's a simple re-sending of a dynamic web page form. Unless those websites have an Ajax system, it's not possible.
  11. But you can define it for better performance Your argument is invalid. It does not improve the performance of anything, whether you used "root" instead of "getRootElement" or the other way around. "getRootElement" is already pre-defined as "root" by the Multi Theft Auto code, so you do not need to define it again, because it's no use. The only thing it does, it makes it faster to type, since "root" only takes four letters and "getRootElement" takes fourteen letters (sixteen with the last two brackets).
  12. What do you even want to calculate? There's nothing to calculate (unless you want the area, circuit or volume; which are taught in normal schools; simple put, Pythagorean theorem). createColRectangle(x, y, width, height)
  13. Of course. It wouldn't be synchronized client-side.
  14. If I remember correctly, it needs proper codecs and these will indeed not keep MTA lightweight any longer. You can just use Fraps or Camtasia (windowed) if you want to record. MTA in-game recording isn't really necessary and honestly speaking I hate such idea.
  15. Check this out: viewtopic.php?f=148&t=40809 I suggest reading all the recommended links, and in case you have time to read them all, do so. Always when you have a problem, you should check from these tutorials if you've missed something. For example, the FAQ section includes questions that were helpful for me when I first made my scripts. When you're done with all that, you have to check this page out: https://wiki.multitheftauto.com/wiki/Main_Page. All the client/server events/functions are listed there as well as small tutorials on how to actually make a resource. Here is a simple tutorial made by me as well: viewtopic.php?f=148&t=38608.
  16. myonlake

    ComboBox

    Are you kidding me? He has fifty (50) teams in his scoreboard window.
  17. Variable example: hi = "hello" wassap = "what's up" age = 23 year = 1989 isAlive = true isDead = false
  18. You are wrong. It is a Concrete Gaming (Valhalla Gaming, Root Gaming) code snippet. We do not give any support for stolen gamemodes or even its code snippets. If you want help, ask mabako. So stop lying to us. I have verified that this is a completely same code snippet from the gamemode.
  19. What do you mean? You want to run two servers with the same internal database or what? Or a server with two internal databases? I don't think neither of these are possible, because the database changes every time you query it. Of course if you have made a Windows batch file and make it look for changes every now and then and then copy and paste the file to the second server, it might work, but do not think it's a good idea. It's the -worst- idea. You should use MySQL for such things.
  20. I understand your opinion, but the fact that you are not able to extinguish object-based fire is what he didn't want. He wanted to be able to extinguish fires, and to do that, you need to use the createFire -function. It's not useless, it's there for a reason - not only that it is an actual element, but it's useful for many codes.
  21. @damien111: You are very much welcome, and don't worry. Patience is always good What are you talking about? -- Off: I like that nobody came and interrupted our discussion. It's stupid when 10 people have a solution and everybody attacks the thread. Let the first replier handle the situation and stand back unless they ask someone else.
  22. He perhaps means this: viewforum.php?f=117.
  23. What else must happen when you write that? and no your English isn't bad, but your explanation is. https://wiki.multitheftauto.com/wiki/AddCommandHandler As said, it's a radical forced command. It forces you to quit the game and I am sure no game developer wants that to happen. Think that I created a nice server and when people join and press "Log in", they'll be quitted from the game. It's stupid and very annoying and that is exactly why it is disabled.
  24. It is not possible to run commands that are forcing the player to do something radical.
  25. Right, I get it now. I am the only one who can see all those useful links, which are stickied or in the front page of something... oh well...
×
×
  • Create New...