17.09.2012, 17:13
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
switch(dialogid)
{
case DIALOG_CLASS:
{
switch(listitem)
{
case 0:
{
SendClientMessage(playerid, 0xD8FF2BFF, "You're listening: Technobase.FM!");
}
case 1:
{
SendClientMessage(playerid, 0xFF00FFFF, "You're listening: Housetime.FM!");
}
case 2:
{
SendClientMessage(playerid, 0x33CCFFAA, "You're listening: Hardbase.FM!");
}
case 3:
{
SendClientMessage(playerid, 0x00FF2BFF, "You're listening: Trancebase.FM!");
}
case 4:
{
SendClientMessage(playerid, 0xC0C0C0FF, "You're listening: Coretime.FM!");
}
case 5:
{
SendClientMessage(playerid, 0xFF6347AA, "You're listening: Clubtime.FM!");
}
case 6:
{
SendClientMessage(playerid, 0x009000FF, "You're listening: Breakz.us!");
}
}
}
}
return 1;
}