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

How To Prevent A Player From Beying Killed From A Triggerd Event?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Master53
Veteran Member
Join Date: Dec 2009
Old 08-27-2010 , 13:27   How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #1

is it possable to prevent a player from beying killed when an event is trigerd?
__________________
Master(d)



Master53 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 08-27-2010 , 14:03   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #2

If you're trying to do something like hooking player_death and stopping it, then no, because the event has already fired. What exactly are you trying to do?
__________________
thetwistedpanda is offline
Pawn 3-pg
Senior Member
Join Date: Jul 2009
Old 08-27-2010 , 14:21   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #3

Events tell you what has already happened. If there is a player_death event, the player is already dead.
Pawn 3-pg is offline
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 08-27-2010 , 14:30   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #4

Use SDKHooks extension to block damage.
__________________
Lord Canistra is offline
Master53
Veteran Member
Join Date: Dec 2009
Old 08-27-2010 , 15:28   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #5

well its when a player switchs team they get slayed automaticly. i blocked the teamswitch part but i havnt blocked the slaying part.
__________________
Master(d)



Master53 is offline
Master53
Veteran Member
Join Date: Dec 2009
Old 08-27-2010 , 15:29   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #6

Quote:
Originally Posted by Lord Canistra View Post
Use SDKHooks extension to block damage.
sdkhooks wont do anything to prevent a player from beying killed or slayed
__________________
Master(d)



Master53 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 08-27-2010 , 15:37   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #7

This is for HL2DM I take it?
__________________
thetwistedpanda is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 08-27-2010 , 15:41   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #8

First, SDKHooks can stop you from getting killed.

Secondly: You probably reversed teamswitch after it occured rather than stop it? Because I assume that if you wholesome block it, it won't have to slay you.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 08-27-2010 , 16:04   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #9

Unless he's referring to HL2M's team switch event, which kills players regardless of what you try to do. People have been asking for a way to fix it for several months and I've yet to see something that works O.o.
__________________
thetwistedpanda is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 08-27-2010 , 16:15   Re: How To Prevent A Player From Beying Killed From A Triggerd Event?
Reply With Quote #10

Asking, or trying?
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
Reply


Thread Tools
Display Modes

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 08:04.


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