HTTP functions - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: HTTP functions (
/showthread.php?tid=530034)
HTTP functions -
Seregamil1 - 05.08.2014
Good afternoon.
Why does function HTTP always gives an incorrect value?
For Example:
PHP код:
HTTP( 0, HTTP_GET, "any web site", "", "myFunction" );
forward myFunction( index, response_code, data[] );
public myFunction( index, response_code, data[] ){
print(data); //[12:26:05] (null)
}
Re: HTTP functions -
QuaTTrO - 05.08.2014
what is your response code?
Re: HTTP functions -
RajatPawar - 05.08.2014
I am pretty sure
this page explains it well! (If you tweak that code a
bit..)