Raised This Month: $ Target: $400
 0% 

Hook Team Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-24-2018 , 10:39   Re: Hook Team Menu
Reply With Quote #1

hehe

RegisterHookChain is a new function in reapi on these days?

I do not updated pugMod for newest amxx, but if i understand my functions still hooking only needed keys instead of filter this in RG_Hook_ChooseTeam function. I guess old way is better duo will not use a filter in fulction itself, but only in register part.


Edit:
-2 is the menu id used by VGUI menu (New menu) if i remember.
register_menuid("Team_Select",1) i need to use to hook old menu id that can change if i am not wrong.

Ps. i do not know why, but i preffer to use amxx way is better on my opinion duo compatibility
__________________
Projects:

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

Last edited by ^SmileY; 05-24-2018 at 10:46.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
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 04:34.


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