Raised This Month: $ Target: $400
 0% 

[TFC] Bug Fixes v1.4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Suicide_Kid
Junior Member
Join Date: Mar 2022
Old 05-16-2022 , 12:20   Re: [TFC] Bug Fixes v1.3
Reply With Quote #6

Nice!!! I had Azul look at it a while back and he did an edit that's close your updated but has another line. The codeblock from Azul is -->

Code:
public Event_ResetHUD_Alive(iClient)
{
	if(!g_bDied[iClient])
		return;
	
	static iTFState;
	iTFState = get_pdata_int(iClient, 35, OFFSET_CLIENT_LINUX_DIFF);
	set_pdata_int(iClient, 29, 1, OFFSET_CLIENT_LINUX_DIFF); // bRemoveGrenade
	set_pdata_int(iClient, 35, iTFState & ~0x0001, OFFSET_CLIENT_LINUX_DIFF); // tfstate
	engfunc(EngFunc_SetView, iClient, iClient);
	g_bDied[iClient] = false;
	g_bRespawned[iClient] = true;
	g_bBlockConcuss[iClient] = true;
	g_bBlockSetOrigin[iClient] = false;
}
Suicide_Kid is offline
 


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 06:12.


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