Raised This Month: $ Target: $400
 0% 

Help! If i die i want remove glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wizz
Member
Join Date: Mar 2010
Old 02-28-2013 , 13:04   Help! If i die i want remove glow
Reply With Quote #1

Hello please help,i want if i die then next round im not glowing anymore
HELP PLEASE
Greetings from Estonian
______________________
case 9:
{
{
client_print(id, print_chat, "[VIP]: Sa said Gravity!")
set_user_gravity( id, 0.5 );
set_user_rendering(id, kRenderFxGlowShell, 255, 0, 255, kRenderTransAlpha, 16);
}
}
wizz is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 02-28-2013 , 13:09   Re: Help! If i die i want remove glow
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <fun>

public plugin_init()
{
    
register_event("DeathMsg""event_death""a");
}

public 
event_death()
{
    new 
killer read_data(1);

    
set_user_rendering(killerkRenderFxNone000kRenderNormal16);


Last edited by Torge; 02-28-2013 at 15:20. Reason: Fixed.
Torge is offline
wizz
Member
Join Date: Mar 2010
Old 02-28-2013 , 13:38   Re: Help! If i die i want remove glow
Reply With Quote #3

Quote:
Originally Posted by Torge View Post
PHP Code:
#include <amxmodx>
#include <fun>

public plugin_init()
{
    
register_event("DeathMsg""event_death""a");
}

public 
event_death()
{
    
set_user_rendering(idkRenderFxNone000 kRenderNormal16);

where i put

public event_death()
{
set_user_rendering(id, kRenderFxNone, 0, 0, 0 kRenderNormal, 16);
}

Last edited by wizz; 02-28-2013 at 13:39.
wizz is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 02-28-2013 , 13:57   Re: Help! If i die i want remove glow
Reply With Quote #4

First you've to register event like in my post.

It doesn't matter, you can post it everywhere
Torge is offline
wizz
Member
Join Date: Mar 2010
Old 02-28-2013 , 14:06   Re: Help! If i die i want remove glow
Reply With Quote #5

Quote:
Originally Posted by Torge View Post
First you've to register event like in my post.

It doesn't matter, you can post it everywhere
I do it all !!!

error if i compile !!!
wizz is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 02-28-2013 , 14:39   Re: Help! If i die i want remove glow
Reply With Quote #6

@Torge
The code you posted is wrong. It will remove his glow whenever anyone is killed.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 02-28-2013 , 15:14   Re: Help! If i die i want remove glow
Reply With Quote #7

Quote:
Originally Posted by wickedd View Post
@Torge
The code you posted is wrong. It will remove his glow whenever anyone is killed.
Oh, my bad.

@wizz
And on which flag code should effect?

Last edited by Torge; 02-28-2013 at 15:20. Reason: Problem fixed..
Torge is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-28-2013 , 15:28   Re: Help! If i die i want remove glow
Reply With Quote #8

Add at top of plugin :

#include <csx>

And where you want in plugin :

PHP Code:
public client_death(id)
{
    
set_user_rendering(id_000_0)

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-28-2013 at 15:28.
ConnorMcLeod 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 21:44.


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