Raised This Month: $ Target: $400
 0% 

[Solved]Create Nemesis Kill Effect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-09-2013 , 08:40   [Solved]Create Nemesis Kill Effect
Reply With Quote #1

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 
iVictimiKiller;
    
iVictim read_data);
    
iKiller read_data);
    
    if( !
is_user_connectediVictim ) )
        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 ?
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then

Last edited by devilicioux; 12-09-2013 at 09:12. Reason: Ty wicked :D Solved.
devilicioux is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-09-2013 , 08:52   Re: Create Nemesis Kill Effect
Reply With Quote #2

There's a plugin that does something similar, search for "Killing Particles". You should be able to edit it to your needs.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-09-2013 , 09:12   Re: Create Nemesis Kill Effect
Reply With Quote #3

TYSM I ll lift up the code from that..
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode