Raised This Month: $51 Target: $400
 12% 

[TF2] [QUESTION] Force player to open change class screen?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jacek2144
Senior Member
Join Date: Jun 2011
Old 11-22-2012 , 11:11   [TF2] [QUESTION] Force player to open change class screen?
Reply With Quote #1

Hello.
Is there any way to force changeclass menu to showup for player ?
Thanks.
jacek2144 is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 11-22-2012 , 12:09   Re: [TF2] [QUESTION] Force player to open change class screen?
Reply With Quote #2

I'm going to assume TF2 since you don't provide us with much information. Try something like:

Code:
ShowVGUIPanel(client, (GetClientTeam(client) == TF_TEAM_BLU ? "class_blue" : "class_red"));
__________________
11530 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-22-2012 , 18:13   Re: [TF2] [QUESTION] Force player to open change class screen?
Reply With Quote #3

Quote:
Originally Posted by 11530 View Post
I'm going to assume TF2 since you don't provide us with much information
I'm going to note that the first five characters of this topic's title are "[TF2]"
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 11-22-2012 , 18:29   Re: [TF2] [QUESTION] Force player to open change class screen?
Reply With Quote #4

Quote:
Originally Posted by Powerlord View Post
I'm going to note that the first five characters of this topic's title are "[TF2]"
Hush, you! I still helped as much as I could.

__________________
11530 is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 11-23-2012 , 04:53   Re: [TF2] [QUESTION] Force player to open change class screen?
Reply With Quote #5

Thanks
jacek2144 is offline
Reply



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:46.


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