AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Player Menu for the winner (https://forums.alliedmods.net/showthread.php?t=129181)

BolliN 06-09-2010 21:36

Player Menu for the winner
 
Ok, i want to do that when a ct and a TT are in a duel (already done), the winner will have a players menu in the round start where he must choose a player to be in his team.
Then when the player is transfer to the winners team, the looser must choose a player too..

(all the chosen players are in the SPECTATOR TEAM)

i've already done some things but i dont know how to transfer the player to the winner team and to open the players menu to the looser when the winner have chosen..


Sorry for my english

And thanks!

Bugsy 06-09-2010 21:41

Re: Player Menu for the winner
 
Quote:

Originally Posted by BolliN (Post 1204595)
i dont know how to transfer the player to the winner team

cs_set_user_team()


Quote:

Originally Posted by BolliN (Post 1204595)
and to open the players menu to the looser when the winner have chosen..

In the winners menu handler, open the losers menu when winner makes selection.

BolliN 06-09-2010 21:45

Re: Player Menu for the winner
 
So i have to do 2 menus? one for the winner and one for the looser?

Bugsy 06-09-2010 22:08

Re: Player Menu for the winner
 
Quote:

Originally Posted by BolliN (Post 1204600)
So i have to do 2 menus? one for the winner and one for the looser?

Yes, because you do not want the player that the winner selected to also appear on the losers menu ... correct?

BolliN 06-09-2010 22:11

Re: Player Menu for the winner
 
Yeh thanks ;)


All times are GMT -4. The time now is 05:18.

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