Quote:
Originally Posted by Powerlord
Given what Asherkin linked, have you tried
PHP Code:
public OnRequestComplete(HTTPRequestHandle:request, bool:successful, HTTPStatusCode:status) {
new size = Steam_GetHTTPResponseBodySize();
new String:response[size+1];
Steam_GetHTTPResponseBodyData(request, response, sizeof(response));
Steam_ReleaseHTTPRequest(request);
PrintToChat(client,"%s", response);
}
|
i mean, how can i pass the client variable into OnRequestComplete method?