 |
|
Veteran Member
|

10-04-2014
, 16:14
Re: Scripting Question
|
#7
|
Quote:
Originally Posted by aron9forever
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
|
lol nice one
__________________
Like my clean plugins and work?
|
|
|
|