Use my.enable_block = on; and my.enable_entity = on; and attach it to you bullet entity
then
function bullet_event
{
if(event_type = event_entity)
{
...
}
and so on

sry for my bad english