Jak zmienić wygląd opisu klas ?
zawodowiec69
21.04.2015
Witam chciałbym zmienić wygląd opisu klas jak to zrobić żeby był taki jak na Diablo modzie że wyskakuje okienko i tam pisze co postać posiada ile zdrowia itp.
skorpius
21.04.2015
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /klasy,"klasy");
}
public opisprzedmiotu(id)
{
show_motd(id,"klasy.txt","klasy");
}
gdy Mamy już plugins tworzymy okno klasy.txt
<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>
<br>
<font size="2" color="#e0a518"><b><center>Opis Klas :</center></b></font><br />
<font size="1" color="#c0c0ff"><b><center>Tu opis klas po kolei jak tam leci</center></b></font>
</body>
</html>
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /klasy,"klasy");
}
public opisprzedmiotu(id)
{
show_motd(id,"klasy.txt","klasy");
}
gdy Mamy już plugins tworzymy okno klasy.txt
<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>
<br>
<font size="2" color="#e0a518"><b><center>Opis Klas :</center></b></font><br />
<font size="1" color="#c0c0ff"><b><center>Tu opis klas po kolei jak tam leci</center></b></font>
</body>
</html>