Jump to content

Gamesnert

MTA Contributors
  • Posts

    2,035
  • Joined

  • Last visited

Everything posted by Gamesnert

  1. Not yet. I'll try to add a few functions for it in a moment. Planning on adding these: If you miss any function, feel free to poke me with it. EDIT: It seems like I was mistaken; setPickupType already does what you need.
  2. Make sure you have the latest version of Freeroam, and make sure you're actually looking for the button in Freeroam. This has already been acknowledged, and is an MTA bug, not a stage one. Please watch the first tutorial video in the first post. You're obviously doing it wrong.
  3. According to the bugtracker this is fixed in 1.0.4. Although 1.0.4 isn't technically done, there are untested builds (which you can consider as beta versions) which already contain 1.0.4's new features, bug fixes etc. (at the cost of lack of testing) Try the latest nightly and see if it resolves the problem.
  4. He removed *Coming Today*, so it doesn't matter if it's day 6 or whatever anymore.
  5. for index,value in ipairs(table) do -- actions end You can change index and value keys to whatever you like. They're just called index and value to show you what vars over there would contain. Oh and don't forget to change table to an actual table.
  6. Actually, it isn't synced. It's just how deathpickups works. It checks all weapons the player's got client-side, because server-side getPlayerWeapon didn't have the ability to get weapons from other weapon slots. Obviously, hacked weapons do exist client-side, so when deathpickups checks what weapon the client has client-side, the script won't assume some of them are hacked. This can be fixed in 1.0.4, where I added getPedWeapon server-side just yesterday. I just need to see if getPedTotalAmmo server-side would work fine, as deathpickups seems to need it.
  7. You've probably got an outdated version of Freeroam. Get the latest official MTA resources package from HERE, and extract "Required -> Freeroam" into your server resources folder.
  8. They can steal it, because it's open-source. They can edit it, because it's open-source. They do need to edit it, to disable parts which will conflict with their servers. (servers with speed booster scripts for instance) Besides, I was more interested about your answer to: Uh, wow, so? And you don't need to quote my entire post if you're only going to answer the first question. Nothing. It kicks only if you are cheating. And how do you detect it as "cheating", I wonder?
  9. ... What is the point of "compiling so good that you can't really take functions from it", if you're going to make it open-source? Uh, wow, so? Btw: double-post.
  10. Care to explain why this is necessary? For as far as I am concerned, hacked weapons aren't even synced.
  11. Gamesnert

    gui???

    I guess so too, because I'm about to press the button. COOKIE2: Please post any problems you have with a script in the right topic if it already exists. (here) Also, use [ lua][/lua] tags for your code, it's not a surprise nobody is taking the effort of helping you.
  12. Slight improvement to karlis' function: function playerToPoint(radius,player,x,y,z) local px,py,pz=getElementPosition(player) return getDistanceBetweenPoints3D(x,y,z,px,py,pz) <= radius end Made px,py and pz local, and the distance can now also equal the maximum radius. Anyway, could you give us some more info then? Like where the player's at, where the target point's at, what the radius is, perhaps some other info you can miss?
  13. Let me put it like this: 1. This is the general MTA forum, for server-specific stuff, find a website or other way to contact server owners 2. Banning happens for a reason, it's not like you're being banned for fun 3. We're don't support mods like s0beit, so I'll just lock this straight away 4. Could you please try to let your post make more sense next time? I don't understand about 90% of what you said I'm not sure if this is the correct board. I'll just leave it right here so someone else can move it if that person does know.
  14. The md5 in MTA only has one parameter: The string to hash.
  15. ^ is always done before - in mathematics. Try (-2)^2.
  16. Unfortunately, there are lifeless decompilers for lifeless people. The only way to actually stop script theft is preventing scripts from being written on the harddisk in the first place. I have an experimental resource lying around somewhere on my hard disk, planning on releasing it soon, although I'd prefer MTA doing this. The resource is not ideal, but it would at least make stealing scripts a bit harder than simply looking in your client resources folder.
  17. The maximum setting is 100. Besides, then it still gets stuck at a maximum of 60 because SA's frame limiter is limited. Disable it by setting FPS limit to 0. And my maximum is around 100 FPS, or well, on my own running no particular gamemode.
  18. Gamesnert

    Help

    Make sure to overwrite all files. Also make sure you don't edit them again afterwards. And no, gta3.img isn't anything critical, so it isn't checked.
  19. http://github.com/Gamesnert/multithefta ... 653b212e3d I've just made functions out of it, because you can simply use getProjectileTarget etc in the event itself, as well as outside of them. I couldn't exactly find out how to return the model parameter, but oh well, that's not that important, is it?
  20. Gamesnert

    FPS problem

    You mean 6 months, 15 days, 2 hours and 10 minutes? Have you tried the latest untested build? Because you said "since 1.0", I guess it might be able to fix it.
  21. I bet there's something wrong in your mtaserver.conf or your acl.xml. Try moving them to another folder (as a backup) and then run the MTA installer again. This should give you the default mtaserver.conf and acl.xml. If it doesn't crash (without editing) then you know that's the problem.
  22. Did it ever work? Can you show us your mtaserver.conf, accounts.xml and ACL.xml?
×
×
  • Create New...