Raised This Month: $ Target: $400
 0% 

Say only in spec


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 07-28-2008 , 19:57   Say only in spec
Reply With Quote #1

Hi, friends,

I have a problem. How I can do to only acept /somethink only if the players is specting?
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
scrtxxcaz
Senior Member
Join Date: Feb 2007
Location: a place u cant find
Old 07-28-2008 , 23:14   Re: Say only in spec
Reply With Quote #2

PHP Code:
#define CS_TEAM_SPEC 3
public function(id) {
     if(
get_user_team(id) == CS_TEAM_SPEC)
     {
          
//player is specting do this
     
}

__________________
Please leave your name when giving me any karma

Counter Strike Freeze Tag
Status: Testing.... (bugs)

Revised Registration
Status: In Progress
scrtxxcaz is offline
Send a message via AIM to scrtxxcaz
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 07-28-2008 , 23:39   Re: Say only in spec
Reply With Quote #3

Thank. Sorry.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Reply



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 05:41.


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