Raised This Month: $ Target: $400
 0% 

some one help me undertsand hudmessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
djmadox
New Member
Join Date: Apr 2006
Old 04-20-2006 , 23:07   some one help me undertsand hudmessage
Reply With Quote #1

im new to amxmodx. and i wonder how to create a hudmessage
and where to put the hudmessage file.
i want a simple hud message that say's "welcome,bla,bla"
when a user loggs in to my server
Code:
#include <amxmodx> #include <amxmisc> #define PLUGIN "welcome hud" #define VERSION "1.0" #define AUTHOR "DjMadoX" public plugin_init()   {     register_plugin(PLUGIN,VERSION,AUTHOR)     register_clcmd("amx_hudmessage","hudmessage",ADMIN_CHAT," - actives HUD message") } public hudmessage() {     set_hudmessage(255, 0, 0, 0.02, 0.79, 0, 6.0, 12.0)     show_hudmessage(0, "-=[Welcome to .McPuff's Fun Server]=- /n for more info go to /n http://www.com") }   }

am i on the right way? [/small]
djmadox is offline
Send a message via MSN to djmadox
 



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:02.


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