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

ForcePlayerSuicide delayed?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 10-03-2008 , 14:16   ForcePlayerSuicide delayed?
Reply With Quote #1

In the mod Zombie Panic Source, ForcePlayerSuicide has a delay before the player dies and sometimes he doesn't die. Is there a way to fix?
Sammy-ROCK! is offline
Kigen
BANNED
Join Date: Feb 2008
Old 10-04-2008 , 21:15   Re: ForcePlayerSuicide delayed?
Reply With Quote #2

FakeClientCommand(client, "kill");



Unless Kill is a blocked command. :-/
Kigen is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 10-05-2008 , 11:32   Re: ForcePlayerSuicide delayed?
Reply With Quote #3

Even kill is delayed. The mod is Zombie Panic Source it takes like 10-20 seconds to kill after ForcePlayerSuicide or Kill command.
Sammy-ROCK! is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 10-05-2008 , 13:37   Re: ForcePlayerSuicide delayed?
Reply With Quote #4

you'll have to hook CBasePlayer::ComitSuicide() and delay it with 10-20 seconds
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
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 18:58.


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