Image: zombie-mod.ru/uploads/posts/2013-09/1379453663_1333899032_hl-2012-04-08-19-26-38-61.jpg
PHP Code:
#include < amxmodx >
#include < zombieplague >
public plugin_init()
{
register_plugin("[ZP] Effect For Victim Nemesis", "0.2", "=_=");
register_event("DeathMsg", "event_death", "a");
}
public event_death()
{
static iVictim, iKiller;
iVictim = read_data( 2 );
iKiller = read_data( 1 );
if( !is_user_connected( iVictim ) )
return;
if( iKiller == iVictim || !iKiller )
return;
new vOrigin[3];
get_user_origin(iVictim,vOrigin);
if ( zp_get_user_nemesis ( iKiller ) )
create_blood(vOrigin);
}
create_blood(vec1[3])
{
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
write_byte(TE_LAVASPLASH);
write_coord(vec1[0]);
write_coord(vec1[1]);
write_coord(vec1[2]);
message_end();
}
What i want to do is When some Human comes in contact with zombie .. Create this blood splatter effect .. In reference to Zombie Escape MOD by Dias v2.2
Also Any Stock Available that can create this kinda blood effect ?
__________________