Jump to content

MIKI785

Members
  • Posts

    1,131
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by MIKI785

  1. Simply use the same positions and draw the text after the rectangle.
  2. They are not stored on the client.
  3. You want to use your PC as HTTP sever? Good luck with that . Anyway, you simply need a HTTP server (eg. apache) and provide all the files that are in mods/deathmatch/resource-cache/http-client-files. The best way usually is to have an extrenal HTTP server on the same server as the MTA server and just create symlink to http-client-files. But when it's on a different machine then that's a different story.
  4. You could use the default account system, that is [wiki]setAccountData[/wiki.
  5. MIKI785

    Packers up!

    Use setVehicleAdjustableProperty
  6. Does it show anything? Any errors? (Use setDevelopmentMode to see web errors)
  7. When I create a browser in-game it always requests some .dummy file from my web server, and i just ask why? I don't request it anywhere, it does it by itself, which it really shouldn't.
  8. Depends on whatever your hardware is capable of.
  9. The stereo upgrade should enhance the radio somehow, i never noticed any difference though. Regarding headlights, i think that those are extra lights that can be put on some vehicles (although they don't emit light). I remember that from singleplayer, but i can't find them here so I can't tell you their IDs.
  10. MIKI785

    Couldn't find file.

    What? I guess the issue is that those files are defined in meta.xml but are missing, that results into resource load failure. Either provide those missing files or remove them from meta.xml, but if you remove them you may encounter errors/warnings if those files are needed by client scripts (depends on how they are written).
  11. Using txd workshop i suppose, this isnt a scripting issue, so dont expect quick response here.
  12. Well thats just horrible thing to do, now youre adding the event every frame, do it the other way around, put the onClientRender into the other one.
  13. MIKI785

    Sounds Streams

    I wrote download="false", so put it in including the " signs.
  14. MIKI785

    The last reply

    Great mistake that youll regret!
  15. MIKI785

    Sounds Streams

    Yes but you have to add it to meta otherwise it wouldnt be avaible on the http server, put download="false" to the file in meta and it wont be downloaded by players at resource's start.
  16. MIKI785

    $ to €

    I doubt he meqnt this, id say he wants to change the sign in HUD, either make your own HUD or maybe if its a texture then change it using shaders, but im not sure if it is a texture.
  17. The expprted function is not dependent on anything else in the resource as far as i can see so just copy it to the resource in which you're calling it. It might even be a bit better for performance than calling exported function each frame but i cant confirm that, its just what i think.
  18. MIKI785

    Sounds Streams

    All client files are avaiable on internal http server ao that players can download them, for example http://127.0.0.1:22004/login_panel/song.mp3 or something like that, of course you have to change the IP and Port to server's values since client doesn't know them (well, it does but its not accessible through scripting).
  19. MIKI785

    Sounds Streams

    Or you could use mta server's http server, just put an attribute download="false" in meta.
  20. MIKI785

    Radar Bug.

    Thats not resolution, thats just bad script.
  21. The marker is created clientsided so obviously it doesnt exist on the server.
  22. Server: local table = {} addEvent("onTableRequested", true) addEventHandler("onTableRequested", root, function () triggerClientEvent(source, "onClientTableSent", root, table) end) Client: triggerServerEvent("onTableRequested", localPlayer) addEvent("onClientTableSent", true) addEventHandler("onClientTableSent", root, function (data) table = data end) And it's synced
  23. Try using isElement(sound) instead.
  24. MIKI785

    [HELP] Please

    I think you want to create a nickname reservation based on serial, right? This is a help section, not a script request section but whatever
  25. I myself am sending data from xml to client in form of a table.. what i do is request the data using triggerServerEvent and then on the server send it to the client using triggerClientEvent, the element data would work as well.
×
×
  • Create New...