Jump to content

[Help] Cache Map In Client


Recommended Posts

1 minute ago, rouzbeh_TopGTA said:

i just want my players download maps once! not everytime! and after that, dont download any map again!

how i can do that?

Don't think it's possible. Unless there is some mod on mta community, but I haven't seen anything like it.

Link to comment

If you would develop your own map loader, you could simply transfer map data from server to client and keep it there and load when needed (however keeping .map file on client without encrypting it will result in your maps to be easily stolen)

  • Like 1
Link to comment

Maps stored in *.map files is not cached, those are downloaded every time a player join. You cold however convert them to a *.lua script using a tool like this to let them be cached properly. That would also reduce your download size for each map with up to 80%. Just remember to keep the *.map file in case you'd like to edit your map later using map editor.

Edited by Mr_Moose
  • Like 2
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...