Raised This Month: $ Target: $400
 0% 

set a users team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
djmd378
Senior Member
Join Date: Sep 2004
Old 07-17-2007 , 22:34   Re: set a users team
Reply With Quote #9

Quote:
Originally Posted by Wilson [29th ID] View Post
set_pev( id, pev_team, 1 )

Replace 1 with the team value, or the team const (ie. CT, TERRORSTS, whatever you cs'ers use)

This does exactly what you want I do it in DoD all the time.

pev_team doesn't seem to work for me.

I've tried
PHP Code:

        set_pev
(idpev_team"CT")
        
set_pev(idpev_team"TERRORSTS")

          
set_pev(idpev_team"CS_TEAM_CT")
          
set_pev(idpev_team"CS_TEAM_T")

          
set_pev(idpev_teamCS_TEAM_CT)
          
set_pev(idpev_teamCS_TEAM_T)

           
set_pev(idpev_team2)
           
set_pev(idpev_team1
All seem to have failed
__________________
djmd378 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 21:33.


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