Raised This Month: $ Target: $400
 0% 

Stop saving data at mapchange


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CS-A-Roland
Member
Join Date: Jul 2009
Old 08-12-2012 , 15:43   Stop saving data at mapchange
Reply With Quote #1

still exist but my tests wont work! What can i do?!

Code:
public plugin_end()
{
    new szCurMap[32];
    get_mapname( szCurMap, 31 );
    log_amx( "** Map '%s' ended", szCurMap );
    
    if ( !WOW_Check() )
    {
        return;
    }
    
    // Destry the forward
    //FWD_Destroy()

    if ( !get_cvar_num("mp_savexp") )
    {
        return;
    }
    
    // Close the connections
    //Save_Close();
    
    return;
} 

public bool:WOW_Check()
{
    if ( get_cvar_num("sv_wowmod_enabled") == 1 )
    {
        return true;
    }
    
    return false;
}
its a uwc3 based code snipped and ive compared also with the wc3ft, but something misses i think or there ive to write something in a differend way. He sould set the plugin to false and stop saving data or am i wrong?! The map endet print comes but the server still crashing at the mapchange...
how can i handle it?!
Also a question where i get these functions from:
Quote:
// Destry the forward
FWD_Destroy()
// Close the connections
Save_Close();
Or at wc3ft its:
Quote:
FWD_Destroy();
DB_Prune();
DB_Close();
seen it in no other file and my compiler everytime give just errors for these lines! :-/
__________________
oOOOoooh it's www.Cs-Attack.de
New World of Warcraft Mod Beta 0.5(based on WC3FT 3.5)
Counterstrike 1.6 SERVER:
Server IP: 193.192.58.154:27200

CONDITION ZERO SERVER:
Server IP: 193.192.58.154:27016

Last edited by CS-A-Roland; 08-12-2012 at 15:47.
CS-A-Roland is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode