public function lacks forward declaration
#2

And in *******_streamer.inc i got this code

PHP код:
#if defined USE_TIMER
    
forward intern_OnStopUrl(playerid);
    public 
intern_OnStopUrl(playerid)
    {
        
#if defined OnFinish*******Url
            
static unpack[128];
            
strunpack(unpack*******_title[playerid]);
            
OnFinish*******Url(playeridunpack*******_len[playerid]);
        
#endif
        #if defined *******_USE_TEXTDRAW
            
PlayerTextDrawHide(playerid*******_textdraw[playerid]);
        
#endif
        
*******_title[playerid]{0} = '\0';
        
*******_len[playerid] = 0;
        
*******_timer[playerid] = -1;
    }
    public 
OnPlayerDisconnect(playeridreason)
    {
        if(
*******_timer[playerid] != -1)
            
KillTimer(*******_timer[playerid]);
        
*******_timer[playerid] = -1;
        
#if defined stream_OnPlayerDisconnect
            
return stream_OnPlayerDisconnect(playeridreason);
        
#else
            
return 1;
        
#endif
    
}
    
#if defined _ALS_OnPlayerDisconnect
        #undef OnPlayerDisconnect
    #else
        #define _ALS_OnPlayerDisconnect
    #endif
     
    #define OnPlayerDisconnect stream_OnPlayerDisconnect
    #if defined stream_OnPlayerDisconnect
        
forward stream_OnPlayerDisconnect(playeridreason);
    
#endif
#endif 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)