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

Blood Color/Amount Management


Post New Thread Reply   
 
Thread Tools Display Modes
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 07-23-2007 , 06:01   Re: Blood Color/Amount Management
Reply With Quote #61

I have repeating errors in my AMXX 1.76c error logs:

Quote:
L 07/23/2007 - 11:51:35: Invalid player id 0
L 07/23/2007 - 11:51:35: [AMXX] Displaying debug trace (plugin "GHW_Blood_Color.amxx")
L 07/23/2007 - 11:51:35: [AMXX] Run time error 10: native error (native "get_user_origin")
L 07/23/2007 - 11:51:35: [AMXX] [0] GHW_Blood_Color.sma::Damage (line 31)
L 07/23/2007 - 11:51:50: Invalid player id 0
L 07/23/2007 - 11:51:50: [AMXX] Displaying debug trace (plugin "GHW_Blood_Color.amxx")
L 07/23/2007 - 11:51:50: [AMXX] Run time error 10: native error (native "get_user_origin")
L 07/23/2007 - 11:51:50: [AMXX] [0] GHW_Blood_Color.sma::Damage (line 31)
L 07/23/2007 - 11:56:25: Invalid player id 0
L 07/23/2007 - 11:56:25: [AMXX] Displaying debug trace (plugin "GHW_Blood_Color.amxx")
L 07/23/2007 - 11:56:25: [AMXX] Run time error 10: native error (native "get_user_origin")
L 07/23/2007 - 11:56:25: [AMXX] [0] GHW_Blood_Color.sma::Damage (line 31)
Code:
12:03:26 amx_plugins
12:03:26 Currently loaded plugins:
         name               version  author            file             status   
         AmxBans Admin Bas  1.76c    AMXX Dev Team     admin_amxbans.a  running  
         AMXBans            5.0      YoMama/Lux & lan  amxbans.amxx     running  
         Admin Commands     1.76c    AMXX Dev Team     admincmd.amxx    running  
         Admin Help         1.76c    AMXX Dev Team     adminhelp.amxx   running  
         Menus Front-End    1.76c    AMXX Dev Team     menufront.amxx   running  
         Commands Menu      1.76c    AMXX Dev Team     cmdmenu.amxx     running  
         Players Menu       1.76c    AMXX Dev Team     plmenu.amxx      running  
         Std Admin Color C  1.1.1    Van der Cal       std_admin_color  running  
         Admin Chat         1.76c    AMXX Dev Team     adminchat.amxx   running  
         Anti Flood         1.76c    AMXX Dev Team     antiflood.amxx   running  
         Info. Messages     1.76c    AMXX Dev Team     imessage.amxx    running  
         NextMap            1.76c    AMXX Dev Team     nextmap.amxx     running  
         TimeLeft           1.76c    AMXX Dev Team     timeleft.amxx    running  
         Stats Configurati  1.76c    AMXX Dev Team     statscfg.amxx    running  
         StatsX             1.76c    AMXX Dev Team     statsx.amxx      running  
         CS Misc. Stats     1.76c    AMXX Dev Team     miscstats.amxx   running  
         CS Stats Logging   1.76c    AMXX Dev Team     stats_logging.a  running  
12:03:26 Map Armouries Inv  0.2      VEN               map_armouries_i  running  
         Play or Be Kicked  1.4      Brad Jones        pbk.amxx         running  
         GunGame AMXX Base  2.00B1   Avalanche         gungame_base.am  running  
         GunGame AMXX Cstr  1.20B1   Avalanche         gungame_cstrike  debug    
         ATAC               2.5.5.5  T(+)rget/f117bom  atac.2.5.5.5.am  running  
         High Ping Kicker   0.16.2   OLO/shadow        high_ping_kicke  running  
         Server Guestbook   0.7a     Doombringer       server_guestboo  running  
         Blood Color/Amoun  1.0      GHW_Chronic       GHW_Blood_Color  debug    
         25 plugins, 23 running
Guenhwyvar is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-26-2007 , 23:33   Re: Blood Color/Amount Management
Reply With Quote #62

fixed.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Kitami
Senior Member
Join Date: Jun 2006
Location: Toronto
Old 10-07-2007 , 01:48   Re: Blood Color/Amount Management
Reply With Quote #63

I was just wonder, if you knew or it is possible to take blood away in game, not just that content locking that turns it into yellow blood aka monster blood. Like just make the blood disappear of take the color of the background its on.

Thanks so much!
Kitami is offline
Richard
Member
Join Date: Apr 2008
Location: In the Counter Strike
Old 05-24-2008 , 13:23   Re: Blood Color/Amount Management
Reply With Quote #64

I go to test on mi server TX
__________________
..._...|.._____________________, ,
....../ `–-___________–– ;_____|] = = = =
...../_==o;;;;;;;;_______.:/
.....), –-.(_(__) /
....// (..) ), ––"
...//___//
..//___//

[Richard]
Richard is offline
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 03-18-2009 , 18:17   Re: Blood Color/Amount Management
Reply With Quote #65

is this compatible with gore?
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
Shard
Member
Join Date: Mar 2009
Old 03-19-2009 , 08:13   Re: Blood Color/Amount Management
Reply With Quote #66

Oh man sweet! I will love this plugin Green blood ftw!
Great plugin btw, +K
Shard is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-03-2009 , 12:29   Re: Blood Color/Amount Management
Reply With Quote #67

Here a better and simple blood color plugin.
Attached Files
File Type: sma Get Plugin or Get Source (blood_color.sma - 1392 views - 2.1 KB)
__________________
Arkshine is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-04-2009 , 18:44   Re: Blood Color/Amount Management
Reply With Quote #68

thx arkshine your hamsandwich method has helped in the production of the updated version
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 06-06-2011 , 15:00   Re: Blood Color/Amount Management
Reply With Quote #69

can someone please make a version that disables/enables blood for CT or T? set by cvar.

thanks.
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
bibu
Veteran Member
Join Date: Sep 2010
Old 06-06-2011 , 17:17   Re: Blood Color/Amount Management
Reply With Quote #70

Quote:
Originally Posted by vaan123 View Post
can someone please make a version that disables/enables blood for CT or T? set by cvar.

thanks.
Try this:

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
    
new amx_blood_tamx_blood_ct

    
public plugin_init()
    {
        
register_plugin("Block Blood""1.0.0""Arkshine")
        
        
RegisterHam(Ham_BloodColor"player""CPlayer_BloodColor")

        
amx_blood_t register_cvar("amx_blood_t""1")
        
amx_blood_ct register_cvar("amx_blood_ct""1")
    }

    public 
CPlayer_BloodColor ( const Player )
    {
        if(
get_pcvar_num(amx_blood_t) && cs_get_user_team(Player) == CS_TEAM_T)
        return 
HAM_SUPERCEDE
        
else if(get_pcvar_num(amx_blood_ct) && cs_get_user_team(Player) == CS_TEAM_CT)
        return 
HAM_SUPERCEDE
        
return HAM_IGNORED
    

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu 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 12:54.


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