Raised This Month: $ Target: $400
 0% 

[INC] Hard linking ConVars to variables


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarkEnergy
SourceMod Donor
Join Date: Apr 2008
Location: Georgia Tech, MSECE
Old 01-01-2011 , 22:37   Re: [INC] Hard linking ConVars to variables
Reply With Quote #3

stock CreateConVarLinked(String:cvar[],String:value[],Stringescription[],&linkedvariable);

don't care about the other args cuz most people dont use them
the cvar handle will be used to link and never returned to the caller, it essentially is a memory leak, but cvar handles are never destroyed anyway
__________________
War3:Source Developer
"Your CPU is just a bunch of Muxes"
DarkEnergy 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 22:54.


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