Raised This Month: $ Target: $400
 0% 

How to make player press TAB


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 04-24-2011 , 03:07   How to make player press TAB
Reply With Quote #1

I need to show the scoreboard to player.
Is that possible without client_cmd(id, "+showscores") / client_cmd(id, "-showscores") ?
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-24-2011 , 04:27   Re: How to make player press TAB
Reply With Quote #2

I bet IN_SCORE is proceeded clientside.
Try to force IN_SCORE in CmdButtons each CmdStart then you will see if you have other options than +showscore.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 04-24-2011 , 06:34   Re: How to make player press TAB
Reply With Quote #3

Can you give an example? I don't know exactly how to do that.
I tried, but I can't force even IN_ATTACK.
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-24-2011 , 06:51   Re: How to make player press TAB
Reply With Quote #4

hook FM_CmdStart, retrieve UC_Buttons value, enforce IN_SCORE in the value and set UC_Buttons value, return FMRES_HANDLED.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 19:55.


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