HTTPX_GetFilename
HTTPX_GetFilename(DownloadID) Returns the filename of DownloadID.
Syntax
native HTTPX_GetFilename(DownloadID, name[], len) /** * HTTPX_GetData(data[], len) * * Fills variable data[] with the last chunk downloaded. * * len decides maxlen for the data[] variable. * Remember, this is raw data. * No need to make room for null at the end unless you're passing it to any function that is * trying to automatically find the end by searching for null (any string function). * * The function will return the ammount of bytes that was written to the data[] variable. * * By looping this function until it returns 0, you can get all the data. **/ native HTTPX_GetData(data[], len) /** * Automatic updating * Updates current plugin automatically (from AlliedModders webpage only to prevent spreading of malicious code). * * * file_id[] has to be the same as it is on the forum webpage. (Check the link of the .amxx file ("Get Plugin" link)) * * * If frequency is supplied you can set how often to update the file. If none is provided it will update as soon as possible. * Please use this respectfully. Don't overload the AM forums. * * You can however provide your own method of determining whether the file needs to be updated or not before calling this function.
Usage
| DownloadID | — |
| name | — |
| len | — |
Defined in
httpx.inc
at line 59
.
This documentation was automatically generated from source.