Raised This Month: $ Target: $400
 0% 

SpawnProtection


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-16-2010 , 16:15   Re: SpawnProtection
Reply With Quote #10

Quote:
Originally Posted by xPaw View Post
It won't block players die from non-players, for example trigger_hurt.
LIES

Code:
// When touched, a hurt trigger does DMG points of damage each half-second
void CBaseTrigger :: HurtTouch ( CBaseEntity *pOther )
{
	float fldmg;

	if ( !pOther->pev->takedamage )
		return;

About code, why do you check TR_iHitgroup ??

Major error is that you enable/disable TraceAttack forward when player spawn / in task, but the forward is not player index specific.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 04-17-2010 at 02:56.
ConnorMcLeod is offline
 



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 19:35.


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