Raised This Month: $ Target: $400
 0% 

Info Connect message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 08-02-2010 , 12:49   Info Connect message
Reply With Quote #1

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
OvidiuS is offline
Send a message via Skype™ to OvidiuS
 



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 00:11.


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