This should work. Use Colorchat to make the name appear with team color, if you want to.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN_NAME "Say on connect"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR ""
public plugin_init()
register_plugin ( PLUGIN_NAME , PLUGIN_VERSION , PLUGIN_AUTHOR )
public client_connect( id ) {
new szName[32]
get_user_name ( id , szName , charsmax(szName) )
client_print (0 , print_chat , "%s: I'm back on the Server" , szName )
}
__________________