Raised This Month: $ Target: $400
 0% 

How to detect console open ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 08-07-2014 , 01:04   How to detect console open ?
Reply With Quote #1

How to detect if user open console ? i want to use status command when player open console automatically
Awesome_man is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-07-2014 , 01:16   Re: How to detect console open ?
Reply With Quote #2

I don't believe you can since it is pure client side
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-07-2014 , 01:24   Re: How to detect console open ?
Reply With Quote #3

You can try to hook toggleconsole command and see the result

EDIT: Oh or use CS_InternalCommand
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 08-07-2014 at 02:33.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 08-08-2014 , 02:32   Re: How to detect console open ?
Reply With Quote #4

Quote:
Originally Posted by ^SmileY View Post
You can try to hook toggleconsole command and see the result

EDIT: Oh or use CS_InternalCommand
https://forums.alliedmods.net/showpo...36&postcount=8
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS 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 12:53.


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