Hmm, I can't seem to reproduce this message... :?
Edit: Started logging of TextMsg with DS's plugin and got this:
Quote:
L 02/19/2006 - 22:20:28: [msglogging.amxx] MessageBegin TextMsg(77) Arguments=2 Destination=One(1) Origin={0.000000 0.000000 0.000000} Entity=1 Classname=player Netname=ghw L 3 n N ! N G z ^ ^
L 02/19/2006 - 22:20:28: [msglogging.amxx] Arg 1 (Byte): 4
L 02/19/2006 - 22:20:28: [msglogging.amxx] Arg 2 (String): #Cannot_Carry_Anymore
L 02/19/2006 - 22:20:28: [msglogging.amxx] MessageEnd TextMsg(77)
|
But it only does it for him (he's the only admin on if that matters). I think that may be a bug within DS's plugin.
Quote:
Originally Posted by On round start a few times
amx_exec @ALL hegren
|
Current code:
Code:
public block_message(msg_id , msg_dest , msg_ent) {
new const count = get_msg_args();
for(new i = 0; i < count; i++) {
if(get_msg_argtype(i) == ARG_STRING) {
new value[64];
get_msg_arg_string(i , value , 63);
log_amx("[%i] Message string: %s | Arg count: %i" , i , value , count);
if(equal(value , "#Cannot_Carry_Anymore")) {
log_amx("Nade message reached and blocked");
return PLUGIN_HANDLED;
}
}
}
return PLUGIN_CONTINUE;
}
:|
|