Jump to content

Bonsai

Members
  • Posts

    1,031
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Bonsai

  1. Bonsai

    Triggering

    1. I guess players aren't children of resourceRoot but only of root. 2. allowRemoteTrigger: A boolean specifying whether this event can be called remotely using triggerClientEvent / triggerServerEvent or not.
  2. Clientside Commands only work on clientsite executeCommandHandler function. Same for server side. So you might have to trigger an event.
  3. I don't know any way, but I would say its either a player or a resource. Therefore, if its not a player, its a resource.
  4. Hey there, due to the old download link should stop working soon, and the old topic being full of weird replys, I'm posting this slightly updated version of my gamemode in a fresh topic. Some Screenshots: It again includes some maps and an acl file, that is not needed anymore for the whole thing to work, but already got rights set up correctly. Still not finished, still not perfect. But maybe useful for some people around here. And, again, no sellling this. Download: http://rghost.net/59427829 Bonsai
  5. https://wiki.multitheftauto.com/wiki/Filepath
  6. Nice idea, but I guess it comes a bit too late. As far as I know MTA gets some real browser soon.
  7. I don't know about you guys, but I don't spend much time in the menu.
  8. Hey Peeps, This is a little Resource that allows you to block players from joining your server by blocking their country. This might be useful in certain circumstances. Please let me know if you find any problem. Download: https://community.multitheftauto.com/in ... s&id=10458 Bonsai
  9. downloadFile function maybe. Even though its not that useful, at least in my opinion, since files have to be included in the meta file.
  10. Shouldn't it be "Enter Username AND Password"?
  11. Well, its kinda true. Just throwing in some Code and an Error message and waiting for someone to fix that.
  12. Bonsai

    solved

    Its a very bad attitude to edit the topic after it was solved. You might not be the only person around here who needs help with that.
  13. Bonsai

    Unbind Problem

    Alright, I think I just discovered the problem. It seems like, if the function you are trying to unbind is currently not bound to that key, it simply unbinds everything. I wasn't aware of that. Now I'm going with: if getKeyBoundToFunction(func) then unbindKey("F3", "down", func) end For some reason the isKeyBound function is serverside only. Bonsai
  14. Bonsai

    Unbind Problem

    C'mon People, Its either working or not..
  15. Hey Peeps, I have a little problem with unbinding a single function from a Key. Whenever I use the unbind function, any function bound to that key is getting unbound. According to the wiki it should be possible as long as you specify a function and a keystate. But for me it doesn't. Anyone else noticed that problem? Bonsai
  16. I would try to split it on multiple resources. Might be some kinda limit. Could be anything else tho.
  17. Check out https://wiki.multitheftauto.com/wiki/Ta ... ScreenShot
  18. Unless you are using a custom chatbox, you don't need to do anything with the command. Just check for "/" as first character, and return.
  19. It might be possible to get all Songs by getElementsByType, and then check for its length. Just not sure right now if you can get any sound element, or just the ones of the current resource.
  20. Now imagine this without any "resourceName". Just like: \MTA San Andreas 1.3\mods\deathmatch\resources\file.txt
  21. Hey Peeps, is there a way to directly write into the resource cache? At the moment I'm creating all the files into my downloader resource and I would like to change it to the way MTA itself handles it, by just writing it into the resource cache folder. Meaning this: \MTA San Andreas 1.3\mods\deathmatch\resources Bonsai
  22. /debugscript 3 Also, team is an element, not a name.
  23. Bonsai

    Fps

    As far as I know: /fps_limit=50
×
×
  • Create New...