View Single Post
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-22-2007 , 19:46   Re: Multiple MOTD plugin
Reply With Quote #4

NOTE TO SELF:

PHP Code:
#include <amxmodx>
#include <amxmisc>
new PLUGIN[] = "Commands"
new VERSION[] = "1.0"
new AUTHOR[] = "JayHaxor"
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR)
register_clcmd("say /commands","Showcommands")
}
public 
Showcommands(id)
{
show_motd(id"commands.txt")
}
public 
client_authorized(id)
{
set_task(30.0"PrintText" ,id)
}
public 
PrintText(id)
{
client_print(idprint_chat,"")

(WORKS)

Thanks, +karma
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum