Raised This Month: $ Target: $400
 0% 

Checking the commands beside player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 03-29-2009 , 14:00   Checking the commands beside player
Reply With Quote #1

hello all.

i it is necessary:

it is necessary to plugin checked importance of the command! If cl_xxxx is 1, that is executed my code. if 0, that nothing do not occur.

thanks.
__________________

F4RR3LL is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-29-2009 , 14:41   Re: Checking the commands beside player
Reply With Quote #2

Not possible i think, and i might be right ;/
__________________

anakin_cstrike is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 03-29-2009 , 14:54   Re: Checking the commands beside player
Reply With Quote #3

I don't still get what you mean. Are you talking about doing something depending on some cvar or what?
SnoW is offline
Send a message via MSN to SnoW
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-29-2009 , 15:14   Re: Checking the commands beside player
Reply With Quote #4

If i have
Code:
cl_dynamiccrosshair 0
and I write to console
Code:
cl_dynamiccrosshair 0
to print for instance
Quote:
That command has already that value
__________________

anakin_cstrike is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 03-29-2009 , 15:16   Re: Checking the commands beside player
Reply With Quote #5

Quote:
Originally Posted by anakin_cstrike View Post
If i have
Code:
cl_dynamiccrosshair 0
and I write to console
Code:
cl_dynamiccrosshair 0
to print for instance
For client cvars it is recommended to use query_client_cvar()
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 03-29-2009 , 15:20   Re: Checking the commands beside player
Reply With Quote #6

thanks!
__________________

F4RR3LL is offline
Reply


Thread Tools
Display Modes

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 08:57.


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