Using force_unmodified i can check for only one file if i return PLUGIN_HANDLED in inconsistent_file?
Can someone test this? Should it work like that?
If i use force_unmodified on two files, and on both of them i should get inconsistency, but only one file is checked for consistency.
Example:
Code:
#include < amxmodx >
public plugin_precache( )
{
force_unmodified( force_exactfile, { 0, 0, 0 }, { 0, 0, 0 }, "sprites/gas_puff_01.spr" );
force_unmodified( force_exactfile, { 0, 0, 0 }, { 0, 0, 0 }, "sprites/gas_puff_02.spr" );
}
public inconsistent_file( id, const sFile[ ], sReason[ 64 ] )
{
log_to_file( "test.txt", "File name: %s", sFile );
return PLUGIN_HANDLED;
}
Code:
L 05/08/2014 - 03:20:41: File name: sprites/gas_puff_02.spr
Shouldn't i also see sprites/gas_puff_01.spr in log?
Any idea how to solve this?
ps. Sorry for bad explanation. I attached code and log.