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! :-/
__________________