Raised This Month: $ Target: $400
 0% 

BIG Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sp@jk
Member
Join Date: May 2010
Location: Serbia
Old 08-09-2011 , 18:39   BIG Problem
Reply With Quote #1

I have a problem, I am making a plugin that adds custom teams and I used Exolent's Team Join Managment to set player in spec and skip choose team and class menu's. I added custom menu and all, but when player is respawned ( I want to respawn a player when he/she choose a team ) I get a player that's looking on "cameras" just like when you are a spectator

PHP Code:
public team_handler(id,menu,item)
{
    switch(
item)
    {
        case 
0:
            
cs_set_user_team(id,CS_TEAM_CT)
        case 
1:
            
cs_set_user_team(id,CS_TEAM_T)
    }
    
ExecuteHamB(Ham_CS_RoundRespawn,id)

Sp@jk 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 03:28.


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