Raised This Month: $ Target: $400
 0% 

Force team before selecting one


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 09-09-2007 , 22:12   Force team before selecting one
Reply With Quote #1

I'm trying to make a custom team menu by blocking the vgui and text team menus. I have the new menu showing up but it doesn't want to set the teams properly.

For some reason when it sets the users team, then forces a respawn, the user will be in 'spectate?' mode and randomly fall from the sky.

I tried using fakemeta 'pev_team' and the cstrike modules 'cs_set_user_team'.

The weird thing is that it works fine if the user was already on a team when calling the functions, but if you call the functions before selecting a team is when it will mess up.
hlstriker is offline
 



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 16:04.


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