Aur3kas
06-13-2010, 16:26
Hi,maybe you can fix the code and make the top of the HUD message to be viewable only by terrorists, and that the write /demo open demo motd lang.
code:
#include <amxmodx>
#include <amxmisc>
public admin_motd(id,level,cid) {
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"demo.txt","Demo")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /demo","1.1","Pa1n")
register_clcmd("say /demo","admin_motd",0,"- Shows the MOTD.")
}
public Message () (
set_hudmessage (255, 0, 0, 0.33, 0.27, 0, 6.0, 12.0)
show_hudmessage (0, "DEMO TEXT TEXT TEXT TEXT")
)
code:
#include <amxmodx>
#include <amxmisc>
public admin_motd(id,level,cid) {
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"demo.txt","Demo")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /demo","1.1","Pa1n")
register_clcmd("say /demo","admin_motd",0,"- Shows the MOTD.")
}
public Message () (
set_hudmessage (255, 0, 0, 0.33, 0.27, 0, 6.0, 12.0)
show_hudmessage (0, "DEMO TEXT TEXT TEXT TEXT")
)