Quote:
Originally Posted by HamletEagle
Yes
|
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( iPlayers, iNum )
new szName[ 32 ];
get_user_name( id, szName, charsmax( szName ) )
for( new i = 0; i < iNum; i++ )
{
player = iPlayers[i]
if(player==id)
client_print( id, print_chat, "Welcome to the server!" );
else
client_print( player, print_chat, "The server is welcoming %s!", szName ) }
holy shit that's some horrible indentation
__________________