Jump to content

Bonsai

Members
  • Posts

    1,031
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Bonsai

  1. So you don't just copy their tag, you also copy their resources?
  2. It just freezes you because your FPS goes down. You can also do that by rightclick on the MTA Window in window mode.
  3. Describe your problem, post some debug log ... Why would anyone help you like this?
  4. Bonsai

    RestartResource

    https://wiki.multitheftauto.com/wiki/Ge ... ceFromName But this is going to affect all players.
  5. I didn't read all this, but this might be helpful. https://wiki.multitheftauto.com/wiki/Filepath "Note: Server side filepaths which refer to resources will work correctly even if the other resource is not running. However client side filepaths require the target resource to be running."
  6. RenderTargets everywhere. https://wiki.multitheftauto.com/wiki/Dx ... nderTarget "Returns Returns a texture element if successful, false if the system is unable to create a render target. You should always check to see if this function has returned false." Try that.
  7. Already deleted the code again It was just setting the speed to 0.2 in a render function, checking the position twice with 1 second delay.
  8. I did a little test, and seems more or less right. Appears its not not exactly 1/50 maybe. The calculated position was off by about 0.7 units.
  9. https://wiki.multitheftauto.com/wiki/Re ... serDomains Hmm, thats pretty much how I did it, except that requesting is happening on the fly aswell. It didn't work me. I'll try it once again.
  10. Hey Peeps, I played around a bit with this CEF and I noticed a little problem. When you are searching on Google for example and click on an URL of the results, its most likely blocked. So I tried to request and reload that URL at the same time. The event "onClientBrowserWhitelistChange" doesn't have an example on the wiki yet, but it seems to provide the URL of the page that was unblocked. But somehow it doesn't seem to be possible to use "loadBrowserURL" in the function attached to that event. So e.g. on Google, you have to click twice on a result until the website actually loads. Is there a solution to make it one click? Bonsai
  11. Wasn't MTA:Eir stuff cancelled long ago?
  12. I wonder who was responsible for german localization.. Some translations couldn't be done worse by Google Translator. "Remote Websites" more or less translated to "deleted Websites". In theory that works, but not in this context.
  13. What did you try? setTimer(spawnPlayer, 1000, 1, source, x, y, z) That doesn't work?
  14. Bonsai

    [HELP] sqlite

    U shouldn't reuse ID's.
  15. Bonsai

    Split

    You go through the String until u find the char that splits, and cut from beginning to that position I guess. Save that, and continue until end of String.
  16. Exactly !, It fail to create Textures but what u mean by "creating too many of those once ?" I don't know how the rest of your code looks like. Also post the error log if possible.
  17. So it sometimes fails to create the Texture? Maybe you create too many of those at once.
  18. Wrong Section. Check out Markers.
  19. Sadly there are waaaaay to many retards in MTA, so anything has to be limited due to security reasons. Just like that upcoming ingame browser and other stuff.
  20. That's mta problem. Try it with race gamemode. It will not work. Well i tried at normal race, and it load's them, but at bonsai's gamemode doesn't work. The default race resource doesn't have to take care about loading scripts at all.
  21. Check the schedule for MTA updates, compare it to the current date, and there you got your answer
  22. Maybe instead there could be an event if a player presses CTRL + V, which means he wants to put it somewhere. There you could grab the content and work with it. I don't think there are any occasions where a player would press those buttons if not for pasting. ___________________________________________ Detecting Caps lock would also be useful. As far as I know there is no way yet. Anyway, I'm not really confident we will ever see such features.
  23. When its about games, he instantly thinks about illegally download them.
  24. That whole wrapper thing is made pretty badly. By now I would do it much different. Replace the whole file with this: http://pastebin.com/kS6AArzZ I'm not sure if it works, but it should make a difference. Bonsai
×
×
  • Create New...