Raised This Month: $ Target: $400
 0% 

How to chek if player is connected and is in CT or T team?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sader
Junior Member
Join Date: Aug 2011
Old 08-12-2011 , 23:09   Re: How to chek if player is connected and is in CT or T team?
Reply With Quote #2

Try this way
PHP Code:
#include <cstrike> 
 
public client_spawn(this)
{  
  if(
cs_get_user_team(this) == CS_TEAM_CT)
  {
 
  }
  else
  {
 
 
  }
 
  return 
PLUGIN_HANDLED;

sader 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:24.


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