Menus
hey alliedmodders, How to hook all the menus on the server? For example, when we use the following code in the plugin, if the user does not have access, it will be automatically printed that
Spoiler
PHP Code:
I mean do this for all server plugins that use "Menu" (without editing them) . do i need make a new plugin for this or edit inc files? how ? thanks. |
Re: Menus
Bump
|
Re: Menus
Bump
|
Re: Menus
There is no need to use this function for player testing
Code:
if ( cs_get_user_team( client ) != CS_TEAM_CT ) // CT / TEDIT Quote:
|
Re: Menus
Quote:
|
Re: Menus
Quote:
Old Menu that calling:> Code:
if(0 < page) |
Re: Menus
Quote:
Imagine a player opening a menu in the game. He can choose between 1 and 9 or exit / back option. Well, if the player chooses an option other than exit / back, song number 1 should be played for him. Otherwise (chooses Back option), song number 2 played for him. Now this should happen for all plugins in the server that use the menu. (Without editing them, just by creating a plugin) |
Re: Menus
not possible without editing the plugins one by one..
|
Re: Menus
Quote:
|
Re: Menus
Quote:
Tbh it is possible but the only method that i could think of is through player frame think hook which is a bad idea. |
| All times are GMT -4. The time now is 11:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.