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

is it possible kill client silently ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
undead52
Senior Member
Join Date: Dec 2016
Old 11-26-2017 , 08:21   is it possible kill client silently ?
Reply With Quote #1

is it possible kill client ? like disappearing,no death sounds or corpse too ?

Last edited by undead52; 11-26-2017 at 08:22.
undead52 is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 11-26-2017 , 09:28   Re: is it possible kill client silently ?
Reply With Quote #2

teleport the client outside of the map before killing ?
jimaway is offline
TheWhitesmith
Senior Member
Join Date: Oct 2017
Location: Morocco :c
Old 11-26-2017 , 09:36   Re: is it possible kill client silently ?
Reply With Quote #3

silent kill him so he wont be shown in upper right, block death sounds by using FM_EmitSound and remove his model in Ham_Killed post (if it's possible of course).
Or just use jimaway's suggestion, it's better and will require less lines.
__________________
TheWhitesmith is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 11-26-2017 , 15:14   Re: is it possible kill client silently ?
Reply With Quote #4

Quote:
Originally Posted by jimaway View Post
teleport the client outside of the map before killing ?
that will look messed up to the victim when he dies
__________________
retired chump

Last edited by DjSoftero; 11-26-2017 at 15:15.
DjSoftero is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 11-26-2017 , 15:25   Re: is it possible kill client silently ?
Reply With Quote #5

tbh it will look messed up either way if you want to butcher the way players die. its possible screenfade the player to hide the possible split second view of untextured side of the map
jimaway is offline
undead52
Senior Member
Join Date: Dec 2016
Old 11-26-2017 , 15:43   Re: is it possible kill client silently ?
Reply With Quote #6

Actually i want to set custom camera at the end of the round.i thought i should kill them too if they alive

Last edited by undead52; 11-26-2017 at 15:46.
undead52 is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 11-26-2017 , 17:56   Re: is it possible kill client silently ?
Reply With Quote #7

btw, you can block corpse.

PHP Code:
new g_msgid_ClCorpse
 
plugin_init
()
{
    
g_msgid_ClCorpse get_user_msgid("ClCorpse")
}
 
public 
my_command(id)
{
    
msg_block(g_msgid_ClCorpseBLOCK_ONCE//blocks corpse spawn
    
user_silentkill(id// blocks deathmsg

More info here:
https://forums.alliedmods.net/showthread.php?t=90713
siriusmd99 is offline
TheWhitesmith
Senior Member
Join Date: Oct 2017
Location: Morocco :c
Old 11-27-2017 , 12:01   Re: is it possible kill client silently ?
Reply With Quote #8

Quote:
Originally Posted by siriusmd99 View Post
btw, you can block corpse.

PHP Code:
new g_msgid_ClCorpse
 
plugin_init
()
{
    
g_msgid_ClCorpse get_user_msgid("ClCorpse")
}
 
public 
my_command(id)
{
    
msg_block(g_msgid_ClCorpseBLOCK_ONCE//blocks corpse spawn
    
user_silentkill(id// blocks deathmsg

More info here:
https://forums.alliedmods.net/showthread.php?t=90713
This will just block corpse, but not death animation and death sounds.
__________________
TheWhitesmith is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-28-2017 , 18:28   Re: is it possible kill client silently ?
Reply With Quote #9

What you are trying to do?
CrazY. 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:59.


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