have guys a quick q...i wanna have a say plugin that bring up a motd type window ingame i know how to do that but, i want it to work for /top10 and /topx at the same type but dunno how that would go into a code for both commands to bring up ssame thing or do i need to separate plugins?
this a code id use for it:
Code:
#include <amxmodx>
#include <amxmisc>
public admin_motd(id,level,cid) {
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"top.txt","Stats Info")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /top10","1.1","OneHit")
register_clcmd("say /top10","admin_motd",0,"- Shows the TOP10 HlStatsX.")
}
__________________