Hi,
I recently made this piece of code:
PHP Code:
get_time( "%H", iTime, charsmax(iTime) );
cTime = str_to_num( iTime );
if( cTime >= get_pcvar_num( vip_free_start ) || cTime <= get_pcvar_num( vip_free_end ) )
{
set_pcvar_num( pCvars [ VipFree ], 1 );
}
else
{
set_pcvar_num( pCvars [ VipFree ], 0 );
}
When this code is in the plugin, the server is crashing with no message in console.
I removed this and the server works.
Anyone any idea?
__________________