Jump to content

Direct Resource URL For Community


Recommended Posts

Hello guys, i just had a basic idea for the MTA community site. I think that if you are the maker of a resource, you can get the direct file path on the MTA community website, so that you can use a script to get the resource.... I just had this idea, to make stuff easier for scripts to make an automatic update script or something, so that your resource and directly download it... Thanks for reading.

Here is what i mean:

49610135.png

Link to comment
You could probably write a module to achieve this

By that, do you just mean edit it, and give to MTA team? Because, i do know a little PHP/HTML :D

Yes, just go to the download page, where it says 'click here if it doesn't start' or whatever it say, right click that, copy link address.

Cant do that, because it will take me to a blank page :/

Edited by Guest
Link to comment

Aibo should send that sexc mta community to a dev to create. oh fuck i wasn't supposed to tell people about it.

guy who posted above me, when downloading in chrome go to the downloads window (menu -> downloads) and you can see the direct url. you can copy it and figure out how to use it. create a module to unzip files and either handle the downloading in the module or using callRemote. i recommend you to save time by handling it within the module and just creating one function in the module for lua calling called updateResource("resourcename", community_resource_id) which'll update and return true or fail and return false.

Link to comment
Aibo should send that sexc mta community to a dev to create. oh :o i wasn't supposed to tell people about it.

guy who posted above me, when downloading in chrome go to the downloads window (menu -> downloads) and you can see the direct url. you can copy it and figure out how to use it. create a module to unzip files and either handle the downloading in the module or using callRemote. i recommend you to save time by handling it within the module and just creating one function in the module for lua calling called updateResource("resourcename", community_resource_id) which'll update and return true or fail and return false.

I would make a module, but i have no clue on how to do that :P

I tried the chrome thing, but it only gives blank page...

I would just use my own website, but the web hoster's are stubborn, and won't allow MTA to connect to it -_-

Link to comment
  • Recently Browsing   0 members

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