Raised This Month: $51 Target: $400
 12% 

Making a non interactive panel


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pandachinoman
New Member
Join Date: Jan 2013
Location: Gaben's bedroom
Old 09-29-2018 , 12:37   Making a non interactive panel
Reply With Quote #1

So there's a few informational plugins that use panels to display information and they're great except that they make the number keys useless, this is bad since they're only for information and don't contain any selectable items.

I'm aware that you can use SetPanelKeys to make these keys free, but I'm a big sourcemod noob and I'm just trying to modify other people's plugins not make my own so I have no idea of where should I put it to make it work.

Let's take this plugin for example: https://forums.alliedmods.net/showthread.php?p=1274550

I tried SetPanelKeys(thepanelname, (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1< <6)|(1<<7)(1<<8)); before SendPanelToClient to make keys 1-9 free but it doesn't work, same goes for SetPanelKeys(thepanelname, 1023);

The panel still blocks the number keys except 0, this plugin creates 2 panels 1 for the spectators and the other for the people who are still playing so it's a little complicated.

If someone could point me in the right direction or know how to do it right please show me I'll be eternally grateful.
pandachinoman is offline
 



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 21:49.


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