why can i found a connect announce plugin with search and you not :S
http://forums.alliedmods.net/showthread.php?p=163726
But the error in your plugin is that you used id in the connect_message and in the disconnect_message function..
Quote:
message_begin(MSG_ONE, get_user_msgid("SayText"), {0,255,0}, id);
write_byte(id);
write_string("message colored text");
message_end();
|
and
Code:
public client_putinserver(id)
{
new TaskData[1]
TaskData[0] = id
set_task(1.0, "connect_message", 0, TaskData, 1)
return PLUGIN_CONTINUE;
}
public client_disconnect(id)
{
new TaskData[1]
TaskData[0] = id
set_task(1.0, "disconnect_message", 0, TaskData, 1);
return PLUGIN_CONTINUE;
}
__________________
All you need to change the world is one good lie and a river of blood