Raised This Month: $ Target: $400
 0% 

Connect/Disconnect message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 05-06-2006 , 12:48  
Reply With Quote #2

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
P34nut is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode