Raised This Month: $ Target: $400
 0% 

connect message script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stigma
Senior Member
Join Date: Mar 2005
Location: Denmark
Old 03-25-2005 , 08:51   connect message script
Reply With Quote #1

Well i've tryed to make a script, that would wirte a HUD message to a client when he joins... It goes like this:

Code:
#include <amxmodx> public client_putinserver(id) {   new username[33] get_user_name(id,username,32); } client_connect(id) {   set_hudmessage("255", "0", "0", "1.0", "0.35", "1", "6.0", "12.0", "1", "1", "4")   show_hudmessage("%s has joined the server!", username) } public plugin_init(){   register_plugin("connect","1.0","stigma")   return PLUGIN_CONTINUE }

I got one error:
(Line 4) error 001: expected token: ";", but found "-identifier-"

I hope some on can help me with this.
stigma is offline
Send a message via MSN to stigma Send a message via Skype™ to stigma
 


Thread Tools
Display Modes

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 09:59.


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