Jump to content

Gamesnert

MTA Contributors
  • Posts

    2,035
  • Joined

  • Last visited

Everything posted by Gamesnert

  1. In server-side scripts you should put the main code of your resources. Including player spawn and that sort of things. Things you want to run faster, without the real need of sync, or things like drawing stuff and creating GUI has to be done client-side. See in the Server Manual. (DE version) Depends on what you mean. But generally, beside bandwidth usage, there's nothing to worry about.
  2. Wouldn't you rather ask at Valhalla's forums what's going on then? These forums are for discussing general MTA problems, but if it only happens with 1 server, it's more considered as an individual server issue, which you need to contact Valhalla itself for.
  3. For as far as I can remember, setting time parameter to something really low (like 1) should work. The animation continued for the full length, while controls were no longer blocked.
  4. For me it works fine. Can you post the exact meta.xml + script files you're using?
  5. This should work just fine: <meta> <script src="a.lua"/> <script src="b.lua"/> </meta> -- a.lua function boo() print("boo") end -- b.lua boo() Note: It won't work if the scripts are the other way around in the meta.xml, because "boo" would be called before it would be defined.
  6. A table is not a function, so you can send it.
  7. He meant that you most likely put the script server-side instead of client-side.
  8. 1. Freeroam 2. Please add more info about the error, although I presume it's the fact you're missing an "end" after function "test"
  9. In the first script: Try replacing mapRoot with source. (which is the root element of the started map resource, in this case) I'm not sure if it'll work, but worth a try I guess. In the second script: No, they can't be booleans. If they'd be booleans, you'd get an error at line 4. Your executeSQLUpdate is missing the last argument I think. In your final script: I presume the function is triggered with onPlayerJoin? If it is, remove "ply" and replace it with "source".
  10. What outputs do you see? I see you have debug messages in your script, but can you tell us the results of those messages?
  11. He's talking about the MTA resources. (see title and his post and the name of this board) Anyway, the resources zip file indeed does kind of old. But for as far as I know, the resources package was automatically created by the same server that built all nightly builds automatically. Problem is, it appears to have broken down. There are 2 possibilities to solve this: 1. Get an SVN client like TortoiseSVN and download all resources manually, so you're no longer dependent on zips 2. Poke someone with access to the download page to zip a new package and upload it. EDIT: It has been updated, click me to download. (this doesn't look like a link, but it is... silly forums)
  12. I wonder, do you actually understand what you just wrote? I bet you don't. Find some Lua tutorials on the internet. There are plenty around. Then try to find your own mistakes. Trial and error isn't getting anyone anywhere.
  13. No, but it shouldn't be too hard to make one.
  14. Yet, not everybody does it. Let's take a look at some statistics. (It's of course not 100% reliable, as stated somewhere near the bottom of the page, but shouldn't be too far off) According to the statistics, the amount of people using IE8 is only 1.5x larger than IE7, and somewhat the same counts for IE6. Although the number is decreasing, it's still a 10 - 20% of the people (approximately) who are still using older versions of IE. Personally, I don't think this can just simply be ignored. Besides, does it really cost that much effort to make the website compatible with older versions to just forget about it?
  15. Should be possible, in some way. But it'd be hacky and would take some time to make it. And then what? There's nothing like setPedTask to set tasks.
  16. It's indeed impossible to warp a client-side ped into a server-side vehicle. In fact, it's impossible to warp a client-side ped into ANY vehicle. There has been a request for adding warpPedIntoVehicle client-side over here.
  17. Gamesnert

    Weapons

    Depends on if you mean Zombies or Slothbot. If you mean Zombies, no. If you mean Slothbot, well, I'm a scripter for it yes, and I created the EDF as well.
  18. It's indeed related to older versions of Internet Explorer. I experience the same problem at PCs of my school, and because the school staff lacks the brains to know what "upgrade" or "a proper browser" means, we're stuck with an old version. However, on my PC is the latest version of IE (which I barely use) and it works just fine. If you do want to see the problem with IE 8 +, enable compatibility mode. It breaks the forums almost like you're running an ancient IE version.
  19. Gamesnert

    Weapons

    1 shot kill can be arranged. Look at the "headshot" resource. It kills players instantly when shot in the head with any weapon. It's not hard to use the same technique, but checking for the weapon instead of the bodypart.
  20. Gamesnert

    The White Rabbit

    "KYEF AG" is totally unrelated to the page, which is why it was reverted. EDIT: Interestingly, the swear filter does seem to be related to "KYEF AG"
  21. https://wiki.multitheftauto.com/wiki/Resource:Rac ... sion_0.8.3 Use onPlayerFinish server-side and trigger a client-side event if the player who finished actually won.
  22. warpPedIntoVehicle setPedControlState Check the top-right of both pages. Also hint: Use [code=lua] instead of
  23. Commands only need "/" in the chatbox. Not in the console.
  24. setPedControlState is client-side only according to the wiki, so it's safe to assume so eh. So yes, it has to be client-side.
×
×
  • Create New...