PHP Code:
new szArray[33][33]
//code to write stuff into array
new buffer[15]
formatex( buffer, 14, "%d", enc(text) );
szArray[id] = buffer;
//code to compare written stuff in array with user input from console
public compare(id)
{
new cmd2[20]];
read_argv(1,cmd2,19);
log_amx("C_ENC: %s",cmd2)
if ( equal(cmd2, saydb[id]) )
{log_amx("EQUAL"); }
else{log_amx("servers ^"%s^" NOT EQUAL to clients ^"%s^"",saydb[id],cmd2);
}
return PLUGIN_HANDLED
}
both are char and same but... it says not equal, i'm little confused
Quote:
|
L 05/23/2009 - 20:27:13: [myplugin.amxx] servers "24" NOT EQUAL to clients "24"
|
__________________