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

Healthkit On Death


Post New Thread Reply   
 
Thread Tools Display Modes
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 04-24-2011 , 16:01   Re: Healthkit On Death
Reply With Quote #141

Updated to v1.7.1

I'am on vacation right now, so i only tested it for CS:S.
If you have problems with other mods, please let me know.
__________________

MFZB Gaming Community

[ www.mfzb.de ]

Knagg0 is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 04-24-2011 , 21:57   Re: Healthkit On Death
Reply With Quote #142

Awesome thanks Knagg0 Have a great holiday mate. Get laid or something .... schwing ... sweet.
__________________
Happy Happy Joy Joy

sinblaster is offline
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 04-25-2011 , 01:18   Re: Healthkit On Death
Reply With Quote #143

Work nice on my CSS-DM & GG servers
__________________
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
*Добрый Змей*
Member
Join Date: Jul 2010
Location: Russia,Moscow
Old 04-25-2011 , 10:17   Re: Healthkit On Death
Reply With Quote #144

Работает без ошибок, спасибо Knagg0 !
Arbeitet ohne Fehler, Danke Knagg0 !
__________________
*Добрый Змей* is offline
Send a message via ICQ to *Добрый Змей* Send a message via Skype™ to *Добрый Змей*
blue zebra
BANNED
Join Date: Jun 2010
Old 04-26-2011 , 00:24   Re: Healthkit On Death
Reply With Quote #145

Knagg0.
First. Thanks for your work. I simply love this plugin.

I have some idea's.What do you think?
- Shotable medkit? (cvar for on-off)4-6 shot needed to destroy the medkit.
- CT's medkits only for ct players and t medkits only for t players? (cvar for on-off)

Not medkit, but same thing.
- When one player die, then he drop not only medkit. Armorkit too?
- When one player die, then he drop him's bullets and the dropped weapon be dissolved?

Sorry for me. My english is sucks.
Br.

Last edited by blue zebra; 04-26-2011 at 06:52.
blue zebra is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 04-29-2011 , 09:25   Re: Healthkit On Death
Reply With Quote #146

Sorry but since the last update its no longer working in HL2DM ... and I like this plugin so hope when ya return from VAC you can fix for me please ........

Ty
TheLaser is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-29-2011 , 12:13   Re: Healthkit On Death
Reply With Quote #147

Quote:
Originally Posted by TheLaser View Post
Sorry but since the last update its no longer working in HL2DM ... and I like this plugin so hope when ya return from VAC you can fix for me please ........

Ty
My wild guess, is something to do mp_teamplay = 0 and teams.
When there is deahtmatch (mp_teamplay "0"), there is only one team.
TeamDeathmatch (mp_teamplay "1") have two teams.

Code:
public EventPlayerDeath(Handle:hEvent, const String:sName[], bool:bDontBroadcast)
{
    if(!GetConVarBool(hod_enabled)) {
        return;
    }

    new iClient = GetClientOfUserId(GetEventInt(hEvent, "userid"));
    new iAttacker = GetClientOfUserId(GetEventInt(hEvent, "attacker"));

    if(iClient != 0 && iAttacker != 0 && GetClientTeam(iClient) != GetClientTeam(iAttacker)) {
        CreateHealthkit(iClient, g_iHealthkitIndex);
        SetNextHealthkitIndex();
    }
}
Try this, it should now work depend cvar mp_teamplay 0/1 now.
This works also on other mod than HL2MP,
but mp_teamplay is mostly dead cvar and it's default value 0.

When mp_teamplay 0 = medic packs appears, killed by own team member or enemy
mp_teamplay 1 = Medic packs appear only when enemy kill
Attached Files
File Type: sp Get Plugin or Get Source (healthkit_on_death.sp - 168 views - 7.0 KB)
File Type: smx healthkit_on_death.smx (7.5 KB, 101 views)
Bacardi is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 04-29-2011 , 16:17   Re: Healthkit On Death
Reply With Quote #148

Hey Thanks now it comes up but now another problem ,
it doesnt dissolve or dissapear and I can go over it until the max is reached ...
TheLaser is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 04-29-2011 , 16:17   Re: Healthkit On Death
Reply With Quote #149

Oh and yes we always use Team on the server ..
TheLaser is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-30-2011 , 09:13   Re: Healthkit On Death
Reply With Quote #150

Quote:
Originally Posted by TheLaser View Post
Hey Thanks now it comes up but now another problem ,
it doesnt dissolve or dissapear and I can go over it until the max is reached ...
Grap gamedata file from first post.
If not helped, then update SDKHooks, run server first time after SDKHooks install, it update new gamedata files. Then reboot server again.

That's all what I know.
Bacardi 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 15:13.


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