when user connect's i want to se custom chat message
here is the code
Code:
#include <amxmodx>
#include <colorchat>
public ShowMessage( id ) {
ColorChat(id, NORMAL, "^4Custom chat ^3Message")
}
public client_putinserver( id ) {
if( is_user_connected ( id ) ) {
set_task( 1.0, "ShowMessage", id );
}
when i start new game
it starts loading map and it crashes...
in logs there's no error with this plugin
when i turn it off from plugins.ini, everything works fine