Raised This Month: $ Target: $400
 0% 

Is there a forward OnPanelSendToClient?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 11-29-2014 , 09:23   Is there a forward OnPanelSendToClient?
Reply With Quote #1

I'm working on a paginated panels API and need to know if panels are no longer displayed due to menu/panels being displayed by other plugins.

This because my panels will be updated with data received by socket callbacks and I don't want to update them if a new menu/panel has been displayed by another plugin.

Is there a way to know that? I tought about hooking ShowMenu usermessage but if there is a cleaner solution I'm all ears.
h3bus is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-29-2014 , 12:28   Re: Is there a forward OnPanelSendToClient?
Reply With Quote #2

*eyes MenuAction_Cancel*
*eyes MenuCancel_Interrupted*
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 11-29-2014 , 13:34   Re: Is there a forward OnPanelSendToClient?
Reply With Quote #3

It won't be called on a panel :/

on menus, sure!
h3bus is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-29-2014 , 17:03   Re: Is there a forward OnPanelSendToClient?
Reply With Quote #4

Quote:
Originally Posted by h3bus View Post
It won't be called on a panel :/

on menus, sure!
SendPanelToClient's documentation disagrees with that.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 11-29-2014 , 17:18   Re: Is there a forward OnPanelSendToClient?
Reply With Quote #5

Yep, but no call back is called when a new menu comes up :/
h3bus 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 05:21.


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