i want to block these messages, but i had no luck

TE_GUNSHOT 2
TE_SPARKS 9
TE_GUNSHOTDECAL 109
TE_ARMOR_RICOCHET 111
TE_MULTIGUNSHOT 126
PHP Code:
new const BULLETMSG = (TE_GUNSHOT | TE_SPARKS | TE_GUNSHOTDECAL | TE_ARMOR_RICOCHET | TE_MULTIGUNSHOT)
public plugin_init() {
register_message( SVC_TEMPENTITY ,"hidebullet")
}
public hidebullet ( msg_id, msg_type, msg_entity)
{
if ( get_msg_arg_int ( 1 ) == BULLETMSG )
{
// Block
}
Please show me a full example how to Hook those messages and block them .
P.S. Admins, please correct the typo in the thread title
__________________
[IMG]http://img2.**************/img2/7173/signfp.jpg[/IMG]