12.12.2014, 09:49
Well SA-MP doesn't support SSL so there is currently no way to make a secure connection. Either you use the socket plugin with SSL support, or you write your own plugin. HTTPS request go through port 443. I'm not sure if the plugin does automatic DNS lookup, so you may have to translate its domain name to its IP address (a dedicated IP is a requirement to set up HTTPS, so there is no way there are other sites hosted on that IP). Then send a HTTP header.
I'm not sure if any more headers are required. You may want to look that up in RFC 2616.
Код:
"GET /path/to/file.php HTTP/1.1\r\n"