To check if a player is in front of you. You can try using is_in_viewcone.
PHP Code:
/* SDK function - checks if an origin is in an entity's view cone
* Set use3d to 1 to do the calculation in 3D. Otherwise it will be in 2D.
*/
native is_in_viewcone(entity, Float:origin[3], use3d = 0);
For damage, you have to do it in the Damage event. As for a custom deathmsg use the stock make_deathmsg from message_stock.inc.
PHP Code:
message_begin(MSG_ALL, get_user_msgid("DeathMsg"), {0,0,0}, 0);
write_byte(killer);
write_byte(victim);
write_byte(headshot);
write_string(weapon);
message_end();
Since their is no sprite for a weapon "kick" it will show a skull instead.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.