Raised This Month: $ Target: $400
 0% 

get_cvar_num(more than one thing in here?)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 12-21-2006 , 09:37   Re: get_cvar_num(more than one thing in here?)
Reply With Quote #6

Don't listen to him.

You can get/set only cvars and execute commands. You can't get console output after a command has been executed. If bot plugin does not have interface (i mean cvars to read them), you never detect what the value is.

By the way, "pb min_bots" - is a command.

And after all, you can work with cvars sequentally only: one by one. It a normal and sensible practice of programming. If you wanna minimize your code then store cvar names and commands in array and execute them in loop.
Simon Logic is offline
Send a message via Skype™ to Simon Logic
 



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 06:52.


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