Raised This Month: $ Target: $400
 0% 

register_cvar and create_cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-20-2015 , 16:15   Re: register_cvar and create_cvar
Reply With Quote #1

There is nothing inherently wrong with register_cvar() so it's confusing that you create a new alternate function. Maybe since it is an augmentation of registering cvar, the name should be an augmentation of the existing function (e.g. format and formatex).
__________________
fysiks is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 12-20-2015 , 18:24   Re: register_cvar and create_cvar
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
There is nothing inherently wrong with register_cvar() so it's confusing that you create a new alternate function. Maybe since it is an augmentation of registering cvar, the name should be an augmentation of the existing function (e.g. format and formatex).
Maybe he went with "create_cvar" because it's params match that of SM's CreateConVar native(only difference is the name and that param flags is before description)

Last edited by WildCard65; 12-20-2015 at 18:24.
WildCard65 is offline
Reply



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


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