Raised This Month: $ Target: $400
 0% 

Remove effect of blood [SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 03-10-2009 , 19:07   Remove effect of blood [SOLVED]
Reply With Quote #1

Hi guys...

How can I remove or render invisible the effect of blood when one is attacked?

(Use Ham module plz )
__________________

Last edited by L//; 03-10-2009 at 19:32. Reason: Solved
L// is offline
Send a message via MSN to L//
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 03-10-2009 , 19:31   Re: Remove effect of blood [SOLVED]
Reply With Quote #2

Solved

PHP Code:
public fw_bloodcolor(id)
{
    
SetHamReturnInteger(-1)
    return 
HAM_SUPERCEDE 

__________________
L// is offline
Send a message via MSN to L//
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-10-2009 , 19:32   Re: Remove effect of blood
Reply With Quote #3

Try :

Code:
    #include <amxmodx>     #include <hamsandwich>         public plugin_init()     {         register_plugin( "Remove Blood", "1.0.0", "Arkshine" );         RegisterHam( Ham_BloodColor, "player", "Forward_BloodColor" );     }         public Forward_BloodColor ( const Client )     {         SetHamReturnInteger(-1);         return HAM_SUPERCEDE;     }

EDIT : Ah, you found alone. ;)
Arkshine is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-11-2009 , 07:14   Re: Remove effect of blood [SOLVED]
Reply With Quote #4

is there a fakemeta way to do this ? :-? I don't want to include ham just for that :}
__________________
Hunter-Digital is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-11-2009 , 07:41   Re: Remove effect of blood [SOLVED]
Reply With Quote #5

Quote:
Originally Posted by Hunter-Digital View Post
I don't want to include ham just for that :}
Why not? It does exactly what you want quite efficiently.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-11-2009 , 07:51   Re: Remove effect of blood [SOLVED]
Reply With Quote #6

It's probably possible to use the offset m_bloodColor ( 89 ) and to set it to -1. But I don't know if setting one time is enough or setting before each shot. Try yourself.

But yeah, Ham would be more efficient.
Arkshine is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-11-2009 , 08:55   Re: Remove effect of blood [SOLVED]
Reply With Quote #7

Okay... the "client" variable is the player ID of wich the blood flies from ?
__________________
Hunter-Digital is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-11-2009 , 10:06   Re: Remove effect of blood [SOLVED]
Reply With Quote #8

Quote:
Originally Posted by Hunter-Digital View Post
Okay... the "client" variable is the player ID of wich the blood flies from ?
Yes.
__________________

anakin_cstrike 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 08:50.


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