Raised This Month: $51 Target: $400
 12% 

get pcvar num


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
daniel46
Senior Member
Join Date: Dec 2011
Old 12-24-2013 , 12:59   get pcvar num
Reply With Quote #1

i have a problem how do i get cvar num by string i mean

register_cvar("cvar_num", "1");

so do i do: get_pcvar_num( "cvar_num" )?

i need this way and not like this

cvar = register_cvar("cvar_num", "1");

get_pcvar_num( cvar )
daniel46 is offline
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 12-24-2013 , 14:18   Re: get pcvar num
Reply With Quote #2

get_cvar_num("cvar_blahblah")

but the pcvar way is faster.
akcaliberg is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-24-2013 , 16:24   Re: get pcvar num
Reply With Quote #3

What is wrong with using pcvars? They are required if you are doing to release a plugin.
__________________
fysiks 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 04:10.


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