Raised This Month: $ Target: $400
 0% 

Dead bodies


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nick123
BANNED
Join Date: Dec 2006
Old 04-10-2007 , 09:59   Dead bodies
Reply With Quote #1

how could i remove bodies as fast as they become dead.. is their a model name for a dead body or what?
nick123 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-10-2007 , 10:07   Re: Dead bodies
Reply With Quote #2

Set nodraw effect for a player entity and block ClCorpse message.
VEN is offline
Howdy!
Senior Member
Join Date: Feb 2007
Old 04-10-2007 , 13:00   Re: Dead bodies
Reply With Quote #3

You can use cl_corpsestay command.
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! is offline
nick123
BANNED
Join Date: Dec 2006
Old 04-10-2007 , 20:14   Re: Dead bodies
Reply With Quote #4

how do i bock a message and set the no draw effect?
sry howdy i don't want to do anything to my clients
nick123 is offline
Dark Kingdom
BANNED
Join Date: Apr 2007
Location: VT
Old 04-11-2007 , 00:01   Re: Dead bodies
Reply With Quote #5

Blocking a Message:
PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
    
register_plugin("FF Message Block","1.0","GHW_Chronic")
    
register_message(get_user_msgid("TextMsg"),"block_message")
}

public 
block_message()
{
    if(
get_msg_args()==&& get_msg_argtype(2)==ARG_STRING)
    {
        new 
message[32]
        
get_msg_arg_string(2,message,31)
        if(
equali(message,"#Game_teammate_attack"))
        {
            return 
PLUGIN_HANDLED 
}
}
return PLUGIN_CONTINUE
}</div>
Dark Kingdom is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-11-2007 , 01:12   Re: Dead bodies
Reply With Quote #6

much easier way to block:
Code:
//in plugin_init
	set_msg_block(get_user_msgid("ClCorpse"), BLOCK_SET);
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
nick123
BANNED
Join Date: Dec 2006
Old 04-11-2007 , 01:36   Re: Dead bodies
Reply With Quote #7

well whats the no draw effect? and hmm i understand that im blocking a message but the orginal purpose for me was to get rid of them as ents, because my server have alot ents and i have respawn on, so the dead bodies are always there
nick123 is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-11-2007 , 01:44   Re: Dead bodies
Reply With Quote #8

Quote:
Originally Posted by nick123 View Post
well whats the no draw effect? and hmm i understand that im blocking a message but the orginal purpose for me was to get rid of them as ents, because my server have alot ents and i have respawn on, so the dead bodies are always there
To get rid of those dead body left on the ground all you need is to block the ClCorpse message. Using the native below in a plugin will do that for you.

Quote:
Originally Posted by Emp` View Post
much easier way to block:
Code:
//in plugin_init
	set_msg_block(get_user_msgid("ClCorpse"), BLOCK_SET);
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
Howdy!
Senior Member
Join Date: Feb 2007
Old 04-11-2007 , 07:21   Re: Dead bodies
Reply With Quote #9

Quote:
Originally Posted by Howdy! View Post
You can use cl_corpsestay command.
This is everyones personal choise it wont do anything to other players.
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! is offline
nick123
BANNED
Join Date: Dec 2006
Old 04-11-2007 , 10:05   Re: Dead bodies
Reply With Quote #10

ok thx team06 & howdy
nick123 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 06:33.


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