#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Show sklep"
#define VERSION "1.0"
#define AUTHOR "Nicku"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /sklep","sklep")
}
public sklep(id)
{
show_motd(id,"/addons/amxmodx/data/sklep.txt","sklep")
}
No i w folderze data stworzyłem sklep.txt
Tam umieściłem :
<html> <head> <title>Board</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> </head> <img src="sklep.jpg" alt="obrazek"> </body> </html>
Sklep.jpg wkleiłem do folderu data, ale po wejściu do gry i wpisaniu /sklep wyświetla się białe tło z napisem B%sadfg76
jakbym mógł prosić o pomoc oczywiście lecą +