Tworzymy w notatniku plik o nazwie mapy.sma, wklejamy w niego:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Aktualne mapy na serwerze"
#define VERSION "wersja"
#define AUTHOR "nick"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /mapy","mapy");
register_clcmd("say mapy","mapy");
register_clcmd("say_team /mapy","mapy");
register_clcmd("say_team mapy","mapy");
}
public mapy(id)
{
show_motd(id,"mapy.txt","Aktualne mapy na serwerze");
}
Następnie kompilujemy go.
Potem tworzymy plik mapy.txt, wklejamy do niego:
<html>
<head>
<style type="text/css">
body {
background-color: #000000;
font-family:Verdana,Tahoma;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
</head>
<font size="2" color="#e0a518"><b><center>Mapy serwera :</center></b></font><br />
<font size="1" color="#c0c0ff">
<UL>
cs_assault<br>
cs_italy<br>
cs_militia<br>
cs_office<br>
de_aztec<br>
de_dust<br>
de_dust2<br>
de_inferno<br>
de_nuke<br>
de_train<br>
de_westwood<br>
de_cpl_strike<br>
de_kabul<br>
de_tuscan<br>
de_dust2002<br>
de_cpl_mill<br>
aim_aztec<br>
aim_crazyjump<br>
aim_headshot<br>
aim_map<br>
aim_map_usp<br>
aim_taliban<br>
wh_train<br>
wh_dust2<br>
mini_dust2<br>
fy_snow<br>
fy_buzzkill<br>
cs_winter_assault<br>
cs_assault_upc<br
aim_glock<br>
de_eldorado<br>
de_rats_2002<br>
<font size="1" color=#00c000><strong>Chcesz by twoja mapa byla tu grana?<strong></font>
Wejdz na: <font color=#FF6600>Grajkownia.coml</font><br><br />
</body>
</html>
Oczywiście tam gdzie są mapy musimy wpisać swoje.
Użytkownik ~Karol edytował ten post 17:28:17 - 16.01.2011






Do góry








