Raised This Month: $ Target: $400
 0% 

get_cvar_string


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-15-2009 , 18:17   Re: get_cvar_string
Reply With Quote #11

Quote:
Originally Posted by ProIcons View Post
I want cvar_string...
Do you know what a string is?
__________________
fysiks is offline
Old 07-15-2009, 21:19
johnjg75
This message has been deleted by johnjg75.
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-15-2009 , 22:55   Re: get_cvar_string
Reply With Quote #12

Quote:
Originally Posted by ProIcons View Post
I want cvar_string...
That make's no sense. Here's what would happen:

1. Read value from cvar into string variable (get_cvar_string)
2. Convert string variable to an integer value (so it can be incremented +1)
3. Add one to integer variable
4. Convert integer back to a string so it can be used with set_cvar_string
5. Set string value to cvar (set_cvar_string)
__________________

Last edited by Bugsy; 07-15-2009 at 23:44.
Bugsy is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-16-2009 , 01:22   Re: get_cvar_string
Reply With Quote #13

Which is wayy too much processing just to add 1 to a cvar -_-
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
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:45.


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