Raised This Month: $ Target: $400
 0% 

Scripting Question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Baws
Veteran Member
Join Date: Oct 2012
Old 10-04-2014 , 16:14   Re: Scripting Question
Reply With Quote #7

Quote:
Originally Posted by aron9forever View Post
no
why are people suggesting this crap, the player joining will see both messages

PHP Code:
new iPlayers[32]
            new 
iNum
            
new player
            get_players
iPlayersiNum )
new 
szName32 ]; 
    
get_user_nameidszNamecharsmaxszName ) )
            for( new 
0iNumi++ )
            {
                
player iPlayers[i]
                if(
player==id)
                        
client_printidprint_chat"Welcome to the server!" );

                else
client_printplayerprint_chat"The server is welcoming %s!"szName )             } 
holy shit that's some horrible indentation
lol nice one
__________________
Like my clean plugins and work?
Baws 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 17:41.


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