Cerere Plugin Radio pe server

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
[RNG]EAGame
Membru, skill 0
Membru, skill 0
Posts: 30
Joined: 28 Sep 2013, 20:21
Detinator Steam: Nu
CS Status: RNG-Servers.Com
Detinator server CS: cs.rng-servers.com
Location: Cotnari - Iasi - Romania
Has thanked: 6 times
Contact:

25 Nov 2013, 19:53

Salut. As dori si eu un plugin cu niste radiouri , gen Pro FM , Kiss FM , Radio Zu etc.. dar care sa mearga 100%.
Multumesc anticipat
Rapidserver
OneShot.
Membru, skill +2
Membru, skill +2
Posts: 719
Joined: 12 Sep 2011, 18:17
Detinator Steam: Da
Detinator server CS: drx.indungi.ro
SteamID: oneshot_01
Reputatie: Fost moderator ajutator
Nume anterior: OnlyHD
Location: Bucuresti
Has thanked: 196 times
Been thanked: 66 times
Contact:

25 Nov 2013, 22:42

.SMA | Afiseaza codul
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <newmenus>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "OneShot"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("say /Radio", "ClCmdSayRadio")
}

public ClCmdSayRadio(id)
{
	new menu = menu_create("\wAlege Radioul :^n^n", "menu_handler");  
	
	menu_additem(menu, "Europa FM", "1", 0);  
	menu_additem(menu, "OneFM", "2", 0);
	menu_additem(menu, "Radio DrX", "3", 0);
	menu_additem(menu, "Party Radio", "4", 0);
	menu_additem(menu, "Radio ZU", "5", 0);
	menu_additem(menu, "Vibe FM", "6", 0);
	menu_additem(menu, "Dance FM", "7", 0);
	menu_additem(menu, "Kiss FM", "8", 0);
	menu_additem(menu, "Radio 21", "9", 0);
	menu_additem(menu, "GreuDeDifuzat", "10", 0);
	menu_additem(menu, "Dibi Manele", "11", 0);
	
	menu_setprop ( menu, MPROP_EXIT, MEXIT_ALL, "\w Iesire" );	
	menu_display(id, menu, 0);  
	
}

public menu_handler(id, menu, item)  
{  
	if( item == MENU_EXIT )  
	{  
		menu_destroy(menu);  
		return PLUGIN_HANDLED;  
	}  
	new data[6], iName[64];  
	new access, callback;  
	menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);  
	new key = str_to_num(data);  
	
	switch(key)  
	{  
		case 1:  
		{  
			set_task(0.1, "EuropaFM", id)
		}  
		case 2:  
		{  
			set_task(0.1, "OneFM", id)
		}
		case 3:
		{
			set_task(0.1, "RadioDRX", id)
		}
		case 4:
		{
			set_task(0.1, "PartyRadio", id)
		}
		case 5:
		{
			set_task(0.1, "RadioZU", id)
		}
		case 6:
		{
			set_task(0.1, "VibeFM", id)
		}
		case 7:
		{
			set_task(0.1, "DanceFM", id)
		}
		case 8:
		{
			set_task(0.1, "KissFM", id)
		}
		case 9:
		{
			set_task(0.1, "Radio21", id)
		}
		case 10:
		{
			set_task(0.1, "GreuDeDifuzat", id)
		}
		case 11:
		{
			set_task(0.1, "RadioDibiManele", id)
		}
		
	}
	return PLUGIN_HANDLED;
}

public EuropaFM(id)
{ 
	show_motd(id, "addons/amxmodx/configs/radio/europafm.html");	
}

public OneFM(id){
	show_motd(id, "addons/amxmodx/configs/radio/onefm.html");	
}

public RadioDRX(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/radiodrx.html");
}
public PartyRadio(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/party.html");
}
public RadioZU(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/radiozu.html");
}
public VibeFM(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/vibefm.html");
}
public DanceFM(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/dancefm.html");
}
public KissFM(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/kissfm.html");
}
public Radio21(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/radio21.html");
}
public GreuDeDifuzat(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/greudedifuzat.html");
}
public RadioDibiManele(id)
{
	show_motd(id, "addons/amxmodx/configs/radio/radiodibimanele.html");
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
Asta il am si pe serverul meu si merge si pe steam on si valve 100%, stiu ca e cam prost optimizat codul dar conteaza ca merge nu e un plugin asa special sa merite optimizat perfect.
Creezi in configs un folder cu numele radio i-ar in el pui HTML de mai jos cu numele radio-ului cum este trecut in menu_handler.
.HTML | Afiseaza codul
<html>
<body BGCOLOR="#000000" TEXT="#FFFFFF" BACKGROUND="http://oi45.tinypic.com/lw6wx.jpg">
<center>
<FONT FACE="Verdana" SIZE="2"><B>
<BR>
<B>Party Radio - DrX.INDUNGI.RO!<BR><BR>
<p align="center"><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://partyradio.zapto.org:9090" name="MediaP11layer1" uimode="mini" url="http://partyradio.zapto.org:9090" autostart="1" animationatstart="false" transparentatstart="true" showcontrols="1" showtracker="0" showstatusbar="1" volume="0.5" height="100" width="300"></embed></p>
- Adaugati-ne la Favorite:<FONT COLOR="#00FF00"> DrX.INDUNGI.RO</FONT><br>
- Forum :<FONT COLOR="#00FF00"> http://www.indungi.ro/forum</FONT><br>
<FONT COLOR="#00FFFF">Daca vrei sa asculti si alte radiouri tasteaza /radio:</FONT><BR><BR>
<FONT COLOR="#00FF00">[*]</font> Copyright on<FONT COLOR="#FF0000"> DrX.InDuNgI.Ro</FONT> 2013<BR></B>
<FONT COLOR="#00FF00">[*]</font> MOTD by<FONT COLOR="#FF0000"> OneShot</FONT> on 13.08.2013</FONT><BR>
<hr WIDTH="350" SIZE="3" ALIGN="center" COLOR="#00FFFF"></body></html>
Modifici tu adresa la radio.
[RNG]EAGame
Membru, skill 0
Membru, skill 0
Posts: 30
Joined: 28 Sep 2013, 20:21
Detinator Steam: Nu
CS Status: RNG-Servers.Com
Detinator server CS: cs.rng-servers.com
Location: Cotnari - Iasi - Romania
Has thanked: 6 times
Contact:

26 Nov 2013, 16:08

Pai pentru a asculta radio-ul imi cere un plugin. Am windows media player si tot nimic..
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: Facebook [Bot] and 14 guests