Raised This Month: $ Target: $400
 0% 

[STOCKS] Useful TF2 Functions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 03-26-2008 , 21:08   Re: [STOCKS] Useful TF2 Functions
Reply With Quote #5

You might wanna create the global variables using 'static' instead to avoid variable naming conflicts (as described here).

Also, what the f* is this?
Code:
    if (!LibraryExists("sdktools"))         #include <sdktools>     hGameConfTF = LoadGameConfigFile("include.tf");

The file is getting included at compile time and the if clause causes hGameConfTF to be assigned to a gameconfigfile handle only if sdktools is NOT running at the time. Probably not what you want.
__________________
plop

Last edited by p3tsin; 03-26-2008 at 21:12.
p3tsin 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 21:48.


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