public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == W)
{
if(listitem == 0)
{
}
if(listitem == 1)
{
new pName[30], string[256];
new hsway[64]="CH/Info.cfg";
SetPlayerPosEx(playerid, 1, 2, 3);
Server[LV]++;
dini_IntSet("CH/Info.cfg","LasVenturas",Server[LV]);
GetPlayerName(playerid, pName, 30);
format(string, 256, "[! Server !] Las Venturas {87C7E1}%s (%dx)!", pName, dini_Int(hsway,"LasVenturas"));
SendClientMessageToAll(C_WARP, string);
GameTextForPlayer(playerid, "Las Venturas",2500,1);
}
if(listitem == 2)
{
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402");
GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1);
}
}
if(dialogid == DM)
{
if(listitem == 0)
{
}
if(listitem == 1)
{
new pName[30], string[256];
new hsway[64]="CH/Info.cfg";
SetPlayerPosEx(playerid, 1, 2, 3);
Server[LV]++;
dini_IntSet("CH/Info.cfg","LasVenturas",Server[LV]);
GetPlayerName(playerid, pName, 30);
format(string, 256, "[! Server !] Las Venturas {87C7E1}%s (%dx)!", pName, dini_Int(hsway,"LasVenturas"));
SendClientMessageToAll(C_WARP, string);
GameTextForPlayer(playerid, "Las Venturas",2500,1);
}
if(listitem == 2)
{
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402");
GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1);
}
}
return false;
}