Checking which team you picked
Hey guys,
I want to check which team a guy picked on the teams menu, so I used this: PHP Code:
PHP Code:
Am I doing it correct? if no help me please. Thanks in advance. |
Re: Checking which team you picked
|
Re: Checking which team you picked
No, you haven't read the thread properly. I want to check which team a player chose on the VGUI MENU!!!! (command in console to display that menu is "chooseteam" or "jointeam"), and after that for example block it and stay in the selection
|
Re: Checking which team you picked
Try this
PHP Code:
|
Re: Checking which team you picked
Quote:
I've seen people hook jointeam and block it and it works that way. |
Re: Checking which team you picked
Quote:
lets say I want to block players picking the Terror team? like they'd hit button 1 (in order to pick TERRORIST TEAM). Then how do I block it? by returning PLUGIN_HANDLED? |
Re: Checking which team you picked
Quote:
PHP Code:
|
Re: Checking which team you picked
1=T
2=CT 3=Spec PHP Code:
|
| All times are GMT -4. The time now is 14:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.