#include <amxmodx>
#include <amxmisc>
public admin_motd(id,level,cid) {
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"adminka.txt","Как купить админку...")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /adminka","1.1","Pa1n")
register_clcmd("say /adminka","admin_motd",0,"- Shows the MOTD.")
}Добавлено (2011-11-13, 15:38)
---------------------------------------------
#include <amxmodx>
#include <amxmisc>
public admin_motd(id,level,cid) {
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"adminka.txt","Как купить админку...")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /adminka","1.1","Pa1n")
register_clcmd("say /adminka","admin_motd",0,"- Shows the MOTD.")
}
#include <amxmodx>
#include <amxmisc>
public admin_motd(id,level,cid) {
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"pravila.txt","Правила")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /pravila","1.1","Pa1n")
register_clcmd("say /pravila","admin_motd",0,"- Shows the MOTD.")
}