Show Menu Only after player choose team
Hi, like title says I´m trying to display a Menu to players that enter Server but only after they choose one team (either T or CT). At the moment I have something like this:
PHP Code:
Thanks in advance. Regards, brlight |
Re: Show Menu Only after player choose team
You can just check if the player is alive.
PHP Code:
PHP Code:
Edit:If you want to show them a menu after they select a team even if they're dead you can use cs_get_user_team or get_user_team also. |
Re: Show Menu Only after player choose team
Ok, one problem solved, many thanks!!
|
Re: Show Menu Only after player choose team
another idea should be to check first spawn
|
Re: Show Menu Only after player choose team
Thanks swapped but, how can i do that?
|
Re: Show Menu Only after player choose team
You can use like this
PHP Code:
|
Re: Show Menu Only after player choose team
Quote:
I think you did a little mistake in that should be: PHP Code:
|
Re: Show Menu Only after player choose team
If you want to show them the menu when they choose a team then just hook the TeamInfo event, the other replies don't make much sense
|
Re: Show Menu Only after player choose team
Nope its should be cs_get_user_team(id) == blabla
|
Re: Show Menu Only after player choose team
No, he should hook TeamInfo, stop posting if you don't know what you're talking about
|
| All times are GMT -4. The time now is 09:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.