Faci un fisier stop.html in config si pui :
[size=2][background=rgb(38, 38, 38)]<html>[/background][/size]
<head>
<style type="text/css">pre{color:#FF1493;}body{background:#000000;margin-left:8px;margin-top:0px;}</style>
</head>
<pre>
<body>
<center>Radioul a fost oprit cu succes !.
Nu uita sa adaugi serverul nostru la favorite!
<embed type="application/x-mplayer2" pluginspage="[url="http://www.microsoft.com/Windows/MediaPlayer/"]http://www.microsoft...s/MediaPlayer/"[/url]
src="[url="http://asculta.radiohitfm.ro:8340/listen.pls"]http://asculta.radio...340/listen.pls"[/url]
align="middle"
width=310
height=45
autostart="False"
loop="False"
volume="200"
showstatusbar=false></embed></center>
</body>
</pre>
</html>
Faci radio.sma si il pui in scripting:
[size=2]#include<amxmodx>[/size]
#include <amxmisc>
public plugin_init() {
register_clcmd("say /stopradio", "stopradio")
}
public stopradio(id) {
show_motd(id, "addons/amxmodx/configs/stopradio.html");
}
Dupa in motd.txt din cstrike pui :
[size=2][background=rgb(38, 38, 38)]<html>[/background][/size]
<head>
<style type="text/css">pre{color:#FF1493;}body{background:#000000;margin-left:8px;margin-top:0px;}</style>
</head>
<pre>
<body>
<center>Poti inchide aceasta fereastra, radioul nu se va opri.
Nu uita sa adaugi serverul nostru la favorite!
<embed type="application/x-mplayer2" pluginspage="[url="http://www.microsoft.com/Windows/MediaPlayer/"]http://www.microsoft...s/MediaPlayer/"[/url]
src="[/background][/size][/font][url="http://asculta.radiohitfm.ro:8340/listen.pls"]http://asculta.radio...8340/listen.pls[/url][font='Lucida Grande', Verdana, Arial, sans-serif][size=3][background=rgb(230, 234, 240)]"[/background][/background][/size][/font][/color]
[color=#000000][font='Lucida Grande', Verdana, Arial, sans-serif][size=3][background=rgb(230, 234, 240)]align="middle"
width=310
height=45
autostart="True"
loop="False"
volume="200"
showstatusbar=false></embed></center>
</body>
</pre>
[size=2][background=rgb(38, 38, 38)]</html>[/size]