View Single Post
Otokiru
Senior Member
Join Date: Apr 2012
Old 03-16-2015 , 10:22   Re: SteamTools HTTPPOST
Reply With Quote #5

Quote:
Originally Posted by Powerlord View Post
Given what Asherkin linked, have you tried

PHP Code:
public OnRequestComplete(HTTPRequestHandle:requestbool:successfulHTTPStatusCode:status) {
    new 
size Steam_GetHTTPResponseBodySize();
    new 
String:response[size+1];
    
Steam_GetHTTPResponseBodyData(requestresponsesizeof(response));
    
Steam_ReleaseHTTPRequest(request);
    
PrintToChat(client,"%s"response);

i mean, how can i pass the client variable into OnRequestComplete method?
Otokiru is offline