Raised This Month: $ Target: $400
 0% 

[TF2] Friendly Pyro Fire - FlameThrower


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-10-2010 , 03:02   Re: [TF2] Friendly Pyro Fire - FlameThrower
Reply With Quote #6

Few short notes:
Quote:
Originally Posted by Swixel View Post
PHP Code:
cv_FF g_pCVar->FindVar("mp_friendlyfire"); 
Make sure to check this isn't NULL.
I have had some really nasty crashes forgetting that in the past, even for valve cvars that should be there for sure.

Quote:
Originally Posted by Swixel View Post
PHP Code:
uradetour->Destroy(); 
Probably meant DisableDetour() here, destroy would free the CDetour structure, requiring you to call CreateDetour again
__________________
asherkin 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 18:42.


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