Your mistake is using prethink to slap without any conditionals (besides team) so the plugin will do nothing but slap the player at a super fast rate. Explain what you're trying to do and we can help to show you the best way.
For a welcome msg..
PHP Code:
public client_putinserver( id )
{
set_task( 7.0 , "SayHi" , id );
}
public SayHi( id )
{
new szName[ 33 ];
get_user_name( id , szName , charsmax( szName ) );
client_print( id , print_chat , "Welcome to the server %s!" , szName );
}
__________________