Raised This Month: $ Target: $400
 0% 

make anything for CT only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-28-2017 , 16:30   Re: make anything for CT only
Reply With Quote #4

The API says all.

id = Player's ID
model = Player's team ( CS_TEAM_T, CS_TEAM_CT, CS_TEAM_SPECTATOR and CS_TEAM_UNASIGNED )

In your case, you should just use

PHP Code:
if(cs_get_user_team(playerid) == CS_TEAM_CT 
Try make what I'm doing aswell, searching API for learn how to do something. And if you doesn't find anything on the API related to what you're seaching for ( what's hard ), search that stuff here, most of them already exists or already someone are using him and you can copy it.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 01-28-2017 at 16:33.
EFFx 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:03.


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