Raised This Month: $ Target: $400
 0% 

Say / Say_Team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 07-27-2011 , 02:52   Re: Say / Say_Team
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
Probably because you copied code from a menu.
All of your color chats are not in any loop.

PHP Code:
loop through players
    
if player has the same team as "id"
        
show the message
endloop 
Quote:
Originally Posted by One View Post
or :

PHP Code:
function ()
{
    
check users team
    
    
switch teams
    
{
        case 
team T =
        
make a loop between all users in the same team
        
{
            
show the message to the users  and return the standard msg
        
}
        
        case 
team CT =
        
make a loop between all users in the same team TEAM 2 )
        {
            
show the message and return the standard msg
        
}
    }

Yeah thank you both,but someoone already explained me what was wrong :]
Dr7sTyLe 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 01:11.


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