This function was added in SA-MP 0.3b and will not work in earlier versions!
Sends a threaded HTTP request.
|index||ID used to differentiate requests that are sent to the same callback (useful for playerids)|
|type||The type of request you wish to send.|
|url||The URL you want to request. (Without 'http://')|
|data||Any POST data you want to send with the request.|
|callback||Name of the callback function you want to use to handle responses to this request.|
1 on success, 0 on failure
As well as the response codes listed above, there are also all of the typical HTTP responses such as 404 (Page not found), 500 (Server error) or 403 (forbidden)