No jeśli masz wszystko w plikach
html to będzie to wyglądać jak dla mnie tak:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Change"
public plugin_init() {
register_clcmd("say /zasady","zasady")
register_clcmd("say /strefy","strefy")
register_clcmd("say /mapcycle","mapcykl")
}
public zasady(id){
show_motd ( id,"zasady.html","STER TP #7 by K-Bausysteme.pl" )
}
public strefy(id){
show_motd ( id,"strefy.html","STER TP #7 by K-Bausysteme.pl" )
}
public mapcykl(id){
show_motd ( id,"mapcycle.html","STER TP #7 by K-Bausysteme.pl" )
}
Ew. jeśli to przecież polski serwer to zamiast komendy pisać
/mapcycle Lepiej mieć
/mapcykl.
Jeśli byś tak chciał to :
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Change"
public plugin_init() {
register_clcmd("say /zasady","zasady")
register_clcmd("say /strefy","strefy")
register_clcmd("say /mapcykl","mapcykl")
}
public zasady(id){
show_motd ( id,"zasady.html","STER TP #7 by K-Bausysteme.pl" )
}
public strefy(id){
show_motd ( id,"strefy.html","STER TP #7 by K-Bausysteme.pl" )
}
public mapcykl(id){
show_motd ( id,"mapcycle.html","STER TP #7 by K-Bausysteme.pl" )
}