Jump to content

Bonsai

Members
  • Posts

    1,031
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Bonsai

  1. Try to use: https://wiki.multitheftauto.com/wiki/On ... hicleEnter
  2. There are even two test servers I made 23.235.234.88:22010 199.188.103.19:22005
  3. You come up with something new every day. Which basically gives the impression you start doing something, get stuck, ask on forum, and give up. Over and over again
  4. As far as I know, you can only try to take one and check if the status at onPlayerScreenShot says "disabled" or not.
  5. Those errors are not related to any MTA version. Most likely someone screwed up editing.
  6. No. Thats the admin resource. Its not included in acl, and you better don't use it anyway. Might cause problems.
  7. No offense, but I have the feeling you waste your time with all this scripting stuff..
  8. Could someone close this please? Its outdated. https://forum.multitheftauto.com/viewtopic.php?f=108&t=83045 Bonsai
  9. How hard can this be... Two else in a row.
  10. The turret has a certain offset to the vehicles position, thats how you can get the Z value. Horizontal rotation should be easy to use in https://wiki.multitheftauto.com/wiki/Ge ... ceRotation to get the point. Vertical rotation seems to be a bit more complicated.
  11. You only forgot to set the visibilty to false after creating it. Then it should do.
  12. Did you ever use Google or try to figure out stuff on your own...? https://wiki.multitheftauto.com/wiki/FormatDate That might not be exactly what you need, but its a start
  13. Wouldn't it be muuuuuuuuuuuuuuuch easier to just save players in a database by serial, as you might even already do for stats, and take the number of rows as total visitors? No files, variables or other weird stuff involved. SELECT count(*) FROM TABLE;
  14. Maybe you should stick to creating HUDs
  15. Why everybody wants to make money with their scripts... What happened to just uploading stuff to community... PS: What about Fraps!
  16. Depends. The console got it since its mostly used for commands. The chatbox is used for chatting. I don't know if that really makes sense.
  17. Thats wrong anyway. executeCommandHandler wants a String containing the arguments separated by space, nothing else. https://wiki.multitheftauto.com/wiki/Ex ... andHandler Also, serverside commands can only be executed using this function in a serverside script. Same for clientside.
  18. Seems you are talking about the default MTA Chatbox, which is already able to execute commands. Obivously this wont work for a custom input since its output via outputChatBox. You could check for "/" as first character and then cancel it, so nothing happens at all. Why people have to be able to execute commands in the Global Chat anyway? Also, use getTickCount instead of Timers.
  19. Why inside of the render function? Even inside of a loop. /debugscript should throw a lot of warnings/errors.
  20. First of all, there is a function to get the distance between points. So you don't need to create a colshape all the time.
  21. You ask a lot of questions Maybe you could find out some stuff on your own either Also, your image didn't work, at least for me:
  22. [quote name=..&G:..]HEY Bonsai, what's the chat script you are using? What do you mean? I made that myself.
  23. Just include them in the meta. https://wiki.multitheftauto.com/wiki/Meta.xml
  24. Bonsai

    Triggering

    Triggering events between resources, not between Client <-> Server. I also like to use events within resources instead of calling functions directly. Looks cleaner Don't know if that might be a bit slower, probably is, but shouldn't be too bad.
×
×
  • Create New...