Raised This Month: $ Target: $400
 0% 

Block team select


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ish12321
Veteran Member
Join Date: May 2016
Old 04-21-2017 , 03:23   Block team select
Reply With Quote #1

Hello,
Actually I wished to block player choose teams through my plugin
I was successful to do completely with hooking chooseteam and jointeam but how to hook the menu that appears when plaeyr joins server for teams.
I wish to hook that and if(codition) { remove the menu } :-\

Please someone tell any way ?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-21-2017 , 05:06   Re: Block team select
Reply With Quote #2

Already been done thousands time search
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
ish12321
Veteran Member
Join Date: May 2016
Old 04-21-2017 , 05:46   Re: Block team select
Reply With Quote #3

If you know solution pls atleast attach link
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 04-21-2017 , 06:18   Re: Block team select
Reply With Quote #4

Here you go
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 04-21-2017 , 12:13   Re: Block team select
Reply With Quote #5

Just search on the google how to do it and learn from another plugin, don't take things easy.

Code:
#include <amxmodx> public plugin_init( ) {     register_clcmd( "chooseteam" , "test" );     register_clcmd("jointeam", "test"); } public test( id ) return PLUGIN_HANDLED;
__________________
Project: Among Us

Last edited by Craxor; 04-21-2017 at 12:15.
Craxor is offline
Send a message via ICQ to Craxor
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-21-2017 , 12:18   Re: Block team select
Reply With Quote #6

Quote:
Originally Posted by Craxor View Post
Code:
#include <amxmodx> public plugin_init( ) {     register_clcmd( "chooseteam" , "test" );     register_clcmd("jointeam", "test"); } public test( id ) return PLUGIN_HANDLED;
Quote:
Originally Posted by ish12321 View Post
I was successful to do completely with hooking chooseteam and jointeam but how to hook the menu that appears when plaeyr joins server for teams.
__________________

Last edited by edon1337; 04-21-2017 at 12:19.
edon1337 is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 04-21-2017 , 12:33   Re: Block team select
Reply With Quote #7

Take a look into this code: https://forums.alliedmods.net/showthread.php?t=69819
__________________
Project: Among Us
Craxor is offline
Send a message via ICQ to Craxor
ish12321
Veteran Member
Join Date: May 2016
Old 04-21-2017 , 21:03   Re: Block team select
Reply With Quote #8

Quote:
Originally Posted by Craxor View Post
Already did ...
But in that how to block that menu i was unable to understand
There were two register message which is needed
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Reply


Thread Tools
Display Modes

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 17:51.


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