Raised This Month: $32 Target: $400
 8% 

No blood from cycler entity


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related       
lazarev
Veteran Member
Join Date: Sep 2008
Old 02-06-2010 , 18:27   No blood from cycler entity
Reply With Quote #1

No blood from cycler entity
author: Juice (me)

Description:
When we shoot "cycler" entity, with "takedamage" parameter value more than 0, we have this:

[IMG]http://img341.**************/img341/6161/notkzsupermario0001.jpg[/IMG]
This plugin solves it ^^
Attached Files
File Type: sma Get Plugin or Get Source (no_blood_from_cycler.sma - 886 views - 438 Bytes)

Last edited by lazarev; 02-14-2010 at 04:12.
lazarev is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 02-06-2010 , 22:54   Re: No blood from cycler entity
Reply With Quote #2

ok cool
__________________
Zombiezzz is offline
doroemon
Senior Member
Join Date: Dec 2009
Location: TF2 AFK Server
Old 02-06-2010 , 23:02   Re: No blood from cycler entity
Reply With Quote #3

Very nice plugin
doroemon is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 02-13-2010 , 18:12   Re: No blood from cycler entity
Reply With Quote #4

Code:
        if( entity_get_float( iEnt, EV_FL_takedamage ) != 0.0 )         {             entity_set_float( iEnt, EV_FL_takedamage, 0.0 );         }
Why don't you set the value directly? I find useless your check.
__________________
"There is no knowledge, that is not power"
fezh is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-13-2010 , 18:23   Re: No blood from cycler entity
Reply With Quote #5

Short but nice
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
orange
Senior Member
Join Date: Dec 2005
Old 02-14-2010 , 02:35   Re: No blood from cycler entity
Reply With Quote #6

good stuff.
__________________
orange is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 02-14-2010 , 04:11   Re: No blood from cycler entity
Reply With Quote #7

Quote:
Originally Posted by fezh View Post
Why don't you set the value directly? I find useless your check.
fix'd
lazarev is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 03-10-2010 , 20:52   Re: No blood from cycler entity
Reply With Quote #8

When you say "this plugin solves it", what you mean? The entity don't blood, or change the color or what?

EDIT: Well, i saw the title now so... i think the entity don't blood anymore with this plugin.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-10-2010 , 20:53   Re: No blood from cycler entity
Reply With Quote #9

Quote:
Originally Posted by Alucard^ View Post
When you say "this plugin solves it", what you mean? The entity don't blood, or change the color or what?

EDIT: Well, i saw the title now so... i think the entity don't blood anymore with this plugin.
The entity doesn't show blood.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 03-10-2010 , 21:30   Re: No blood from cycler entity
Reply With Quote #10

Yep, and now i see the code so i can understand that technically the plugin remove the damage of the entity (or takedamage, don't know what is the correct to say in english). So, ofcourse if takedamage is blocked (or seted to 0.0) the blood dissapear.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Reply


Thread Tools
Display Modes

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 04:12.


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