View Single Post
Author Message
dropslays
Junior Member
Join Date: Feb 2016
Old 05-12-2017 , 01:59   HTTP callback function giving error 147 on compile
Reply With Quote #1

I need to use new-style declarations in my callback function here, but I can't for the life of me figure out what's wrong with it. Any help would be appreciated.

PHP Code:
HTTPRequestHandle hPost Steam_CreateHTTPRequest(HTTPMethod_POST"http://192.168.1.12:3000/api/matchover");
Steam_SetHTTPRequestGetOrPostParameterhPost"matchid""5" );
Steam_SetHTTPRequestGetOrPostParameterhPost"winningteam""testing" );  
Steam_SendHTTPRequesthPostHTTPRequestComplete );

public 
HTTPRequestComplete(HTTPRequestHandle HTTPRequestbool requestSuccessfulHTTPStatusCode statusCode) {
        
ServerCommand("endmatch");
        return;

dropslays is offline