Jump to content

Bonsai

Members
  • Posts

    1,031
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Bonsai

  1. Read this: https://wiki.multitheftauto.com/wiki/Event
  2. Its right. You can just trigger the events. Any resource that has a function attached to that event will call those.. Don't forget to use addEvent. Calling functions directly is possible by using this: https://wiki.multitheftauto.com/wiki/Call Personally I prefer events, as long as there is nothing that has to be returned.
  3. By the way! About this lag/crash whatever thing. It wasn't related to timers. I just checked and it is related to replacing dff models. Either fix it yourself by adding a "_", or wait until I maybe upload a fixed version.
  4. I guess you could rename any player that joins, save the original nick as element data, and work with that in chat and other features that show the nickname. Obviously not the best solution, but suggestions hardly make it into MTA and if, then it takes time.
  5. Hey Peeps, I'm looking for a new hoster to setup some little test server for now. I don't care that much about the price. Its more important that its running smoothly without any problems. Maybe someone here made a good experience with a hoster. Any Hoster but VortexServers is welcome. There are several Hosters listed at https://www.multitheftauto.com/hosters/, but I don't wanna run into problems choosing the wrong one. Thanks. Bonsai
  6. Seems like you are talking about that downloadFile function. Its better to to simply open and read files and then send the data to the client. This way you can even send files from a different resource.
  7. Oh well.. Then its not gonna be too soon.
  8. That Browser stuff did not make it into this version?
  9. Rest of the Code might be helpful.
  10. I can not do this for all my files. if I do this, my server will always have download, I think you as a programmer should know this. do not you think? How much download could be needed for a few scripts...
  11. Are those objects even breakable?
  12. Because its always the same. You ask what functions you have to use. Someone posts them. After that you ask for an example, whatever you mean by that. But it feels like you never actually finish something, considering your skills don't seem to improve at all. I would like to help you, but you always ask this weird questions. You should at least have tried something on your own before you post here, so you can ask about some specific problem.
  13. ... Don't waste your time on this, but more important, don't waste our time.
  14. Okay, meanwhile I found a way to achieve what I wanted, by cancelling the players chat in "onPlayerChat" event. So now, everything that still goes through "onClientChatMessage" comes from a resource or MTA itself. But I'm still wondering why it doesn't provide a real source instead of just root. Bonsai.
  15. Why don't you just start and come back when you actually have a problem?
  16. Hey Peeps, Why doesn't onClientChatMessage provide the responsible resource/element? The serverside version onChatMessage does. https://wiki.multitheftauto.com/wiki/On ... hatMessage https://wiki.multitheftauto.com/wiki/OnChatMessage Bonsai
  17. Na, its independent, even tho some stuff might look similar. Bonsai
  18. Well, it is working fine for me There never had been any problem with those dynamic maps.
  19. Removing code after it was solved should be a ban
  20. The solution might be: "engineAcceleration" instead of "EngineAcceleration" e != E
  21. What does "setVehicleHandling" return? outputChatBox(tostring(setVehicleHandling(theVehicle, "EngineAcceleration", 40)))
  22. Got some news about the wrappers ? Hmm, I don't know. It doesn't crash for me, even tho it sometimes lags a bit. I don't have time at the moment to check such things. It should work most of the times already tho.
×
×
  • Create New...