AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   chooseteam Block (https://forums.alliedmods.net/showthread.php?t=240764)

Baws 05-21-2014 23:15

chooseteam Block
 
How to block or just remove the chooseteam menu?
Because i made a menu and you have to press 'm' to make it open.
It opens just fine but the items or the keys on the menu won't work
because of the chooseteam menu. It's like under it. So how to do that?

aron9forever 05-22-2014 00:10

Re: chooseteam Block
 
okay I'm not going to post code here because I don't have time but you can look inside jbextreme by joropito , it blocks both menues(I think you need 2fwds , one for classic and one for new graphic team menu) and then later draws then by a function

ironskillz1 05-22-2014 01:44

Re: chooseteam Block
 
Return PLUGIN_HANDLED

In the chooseteam hook

swapped 05-22-2014 02:59

Re: chooseteam Block
 
Code:
register_clcmd( "chooseteam", "blockIt" ); public blockIt( id ) {     ShowMenu( id );     return PLUGIN_HANDLED; }


Work fine for me :D

Baws 05-22-2014 20:58

Re: chooseteam Block
 
Works thanks guys.


All times are GMT -4. The time now is 09:36.

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