Raised This Month: $51 Target: $400
 12% 

Killing Particles v1.01 [FIXED]


Post New Thread Reply   
 
Thread Tools Display Modes
INTEL-XTREME
Senior Member
Join Date: Sep 2009
Location: PERU
Old 11-10-2009 , 18:48   Re: Killing Particles v1.0
Reply With Quote #21

good plugin
__________________

INTEL-XTREME is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-11-2009 , 10:55   Re: Killing Particles v1.0
Reply With Quote #22

original code crash hlds if you kill a person or get killed.

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>

new const PLUGIN[]= "Killing Particles"
new const VERSION[]= "1.0"
new const AUTHOR[]= "metallicawOw # [gC]"

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHam(Ham_Killed"player""fw_PlayerKilled")   
}

public 
fw_PlayerKilled(victimattackershouldgib)
{
        static 
Float:FOrigin3[3
        
pev(victimpev_originFOrigin3)
        
        
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYFOrigin30)
        
write_byte(TE_IMPLOSION
        
engfunc(EngFunc_WriteCoordFOrigin3[0])
        
engfunc(EngFunc_WriteCoordFOrigin3[1]) 
        
engfunc(EngFunc_WriteCoordFOrigin3[2]) 
        
write_byte(200)
        
write_byte(100)
        
write_byte(5)  
        
message_end()
        
        static 
Float:FOrigin2[3]
        
pev(victimpev_originFOrigin2)
        
        
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYFOrigin20)
        
write_byte(TE_PARTICLEBURST// TE id
        
engfunc(EngFunc_WriteCoordFOrigin2[0]) // x
        
engfunc(EngFunc_WriteCoordFOrigin2[1]) // y
        
engfunc(EngFunc_WriteCoordFOrigin2[2]) // z
        
write_short(50// radius
        
write_byte(72// color
        
write_byte(6// duration (will be randomized a bit)
        
message_end()

i've modified the code a bit and no more crashes. try it.
note: messages removed
hectorz0r is offline
lowled
Senior Member
Join Date: Sep 2007
Old 11-18-2009 , 16:33   Re: Killing Particles v1.0
Reply With Quote #23

can somebody add a cvar for particle only if HEADSHOT ?

thx
__________________
lowled is offline
kikifrh
Senior Member
Join Date: May 2009
Old 12-12-2009 , 13:53   Re: Killing Particles v1.0
Reply With Quote #24

I saw in the screens.
Code:
 You killed a Enemy!
or something like this...
but its AN enemy.
Code:
You killed and Enemy!
kikifrh is offline
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 12-12-2009 , 14:04   Re: Killing Particles v1.0
Reply With Quote #25

Quote:
Originally Posted by kikifrh View Post
Code:
You killed an Enemy!
AfteR. is offline
Ciio
Veteran Member
Join Date: Oct 2009
Location: Arica, Chile
Old 12-12-2009 , 18:36   Re: Killing Particles v1.0
Reply With Quote #26

Nice
__________________
Ciio is offline
Send a message via MSN to Ciio
Duracell_sk8
Junior Member
Join Date: Dec 2008
Old 12-14-2009 , 16:22   Re: Killing Particles v1.0
Reply With Quote #27

This plugin has crashed my server ...
__________________
Please make IT! ::

http://forums.alliedmods.net/showthread.php?t=94168

HELP ME PLEASE
Duracell_sk8 is offline
Russiaboy
BANNED
Join Date: May 2009
Location: ZombiePlague is my Home
Old 12-14-2009 , 17:25   Re: Killing Particles v1.0
Reply With Quote #28

maybe someone can make the blood particles with AWP only for me?
Russiaboy is offline
Send a message via MSN to Russiaboy Send a message via Skype™ to Russiaboy
metallicawOw
Veteran Member
Join Date: Jun 2009
Location: Anywhere
Old 12-14-2009 , 18:06   Re: Killing Particles v1.0
Reply With Quote #29

Quote:
Originally Posted by Russiaboy View Post
maybe someone can make the blood particles with AWP only for me?
if(get_user_weapon(attacker) == CSW_AWP)
{
__________________

metallicawOw is offline
Russiaboy
BANNED
Join Date: May 2009
Location: ZombiePlague is my Home
Old 12-14-2009 , 18:08   Re: Killing Particles v1.0
Reply With Quote #30

i can't add it

xDD

Last edited by Russiaboy; 12-14-2009 at 18:24.
Russiaboy is offline
Send a message via MSN to Russiaboy Send a message via Skype™ to Russiaboy
Old 12-14-2009, 18:24
Russiaboy
This message has been deleted by YamiKaitou. Reason: bump
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:38.


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