Jump to content

robhol

Retired Staff
  • Posts

    2,120
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by robhol

  1. No, it's generally better to have stuff like this server-side. Just don't mess it up. Oh, and code in English, makes it easier on everyone.
  2. There really is no right answer, since the GTA world itself is not quite "consistent" wrt. scale. As a general rule of thumb, you can do like CrystalMV says and assume 1 unit per meter.
  3. You need to know what you're doing. You can't just pop in the same leaked (or semi-leaked) script as sixty billion other servers and have an instant server. More to the point, we can't magically determine which script you're using and what's wrong based on an extremely vague hint that "nothing happens".
  4. I read your post (several times) and I still have no idea what the problem is. If you write A(); B(), Lua will do A, then do B. The fact that this is blindingly obvious aside, you don't really manage to make it clear WHAT the problem is. You're blaming Lua for... whatever it is... and claiming it runs your code in reverse, which is obviously not possible. The error or whatever it is is in your code, and you need to share it and explain what's wrong and what you're trying to do.
  5. First of all, don't bump/spam. Second, "Help me." is kinda rude. Third, read your error messages and use the wiki. Edit: Fourth: where did you get the script?
  6. If you by "some" mean roughly 1000... Anyway, I really don't see the problem. Anything you put after the for loop in your code will be executed after the for loop - no mystery there. If you want to loop and then call a function... loop, and then call that function. Am I missing something? What exactly are you trying to do, and what is the actual problem?
  7. No, people won't script for you for free. You will need to learn Lua and write it yourself, if it doesn't exist on https://community.multitheftauto.com/ .
  8. If you run it on the same computer, the difference should be hard to notice. However, SQLite is faster. If you run an external MySQL server, that will obviously be slower (and enough that you might actually notice it) due to networking.
  9. Due to qais' nagging, I've decided on not making this open source. Bwahahahaha, etc. The editor is currently not very far from a testable alpha - the testers will be hand-picked by me, and I haven't really decided on anyone yet - except for Cadu12, who has been a huge help and provided the function data that's being used in the editor. Development has slowed a bit and I've been unsure at times if I'm going to carry on, but time will show.
  10. Just as a nitpick, XAMPP isn't an SQL server. It's a bundle with Apache, MySQL, PHP and... some other thing. It's fully possible to just install MySQL by itself, you don't need the web server stuff.
  11. ... no, that'd be illegal. GTASA is copyrighted, and you need to get it yourself. Additionally, MTA:SA is not a no-cd/dvd crack and will most likely never be so. Those are easy to find anyway - however, since they're in a kind of legal "gray area", we can't help you find those, either.
  12. And is the server actually online? Are there other players on it?
  13. Whatever you're doing, if you plan on actually using this data, you're doing it in the worst way. XML is much easier to read and write, SQL is quicker and more flexible. Pure file IO functions aren't meant for storing this kind of thing.
  14. robhol

    The sun

    Based on how difficult R* chose to be when coding it, it probably has a more or less fixed position based on the time. You could probably calculate it somehow.
  15. I think that's 4/5 spaces in Notepad++ . First of all, what does that even mean? Second, Notepad++' tab size is not exactly of staggering importance to me - please stick to the topic. Although I guess that if someone complains and it's about 6px higher tabs than another editor, that's kind of a good sign.
  16. No seriously, he's right. Read some basics on the language before you try doing anything. Cutting and pasting other people's scripts is not a good way to learn OR get anything done.
  17. That seems like the mother of all nitpicks to me. I've reduced them slightly, though.
  18. I'm sure there's obfuscation methods you can use, but ultimately... no. A "foolproof" solution isn't possible.
  19. Does everything have to become some kind of quarrel around here? Dark is right - doing it one second at a time is stupid. Let it drop.
  20. I also like TF2, and I don't want to seem overly pessimistic, but... why? Won't people who want to play TF2 play the actual TF2?
  21. You may have a chance to pay him? Yeah, good luck with that...
  22. robhol

    Scripting

    Private tutoring isn't too likely, you're better off just reading the scripting intro on the wiki.
  23. 5x4 MA Inj EL Pa2 Ics T Iv
×
×
  • Create New...