Raised This Month: $ Target: $400
 0% 

HELP-How To Put in GHW Advanced MOTDs on "motd2.txt"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mullekurden
Member
Join Date: Apr 2008
Old 07-25-2008 , 16:32   HELP-How To Put in GHW Advanced MOTDs on "motd2.txt"
Reply With Quote #1

hello i wonder if some1 can tell me how to put in this:
http://forums.alliedmods.net/showthread.php?p=235170

onto my motd2.txt
the motd2.txt will be shown when i type /ffs like this iv'e made:

PHP Code:
#include <amxmodx>
#include <amxmisc>

new PLUGIN[] = "help"
new VERSION[] = "1.0"
new AUTHOR[] = "mullekurden"

public plugin_init()
{
 
register_plugin(PLUGIN,VERSION,AUTHOR)
 
register_clcmd("say /ffs","ShowMotd")
}
public 
ShowMotd(id)
{
 
show_motd(id"motd2.txt")
}
public 
client_authorized(id)
{
 
set_task(30.0"PrintText" ,id)
}
public 
PrintText(id)
{
 
client_print(idprint_chat"Say /ffs to view info about: Getting Admin, PointSystem, Rules, News, ClanMembers")

the motd2.txt will not be the same motd that will be shown at connect, because on the connectmotd i have a big picture here: http://img372.**************/img372/9038/ffsmotdnn5.jpg
and i want that the motd.txt will still be in HTML code for my picture.

thank you
__________________

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


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