Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Action Event_Song(client, args)
- {
- Menu menu = new Menu(m_eventsong);
- menu.SetTitle("☰ Playlist");
- menu.AddItem("song1", "Paradigm | Best of Future House Mix");
- menu.AddItem("song2", "Chill Out Music Mix");
- menu.AddItem("song3", "Chill Out & Melodic Music Mix ");
- menu.AddItem("song4", "Trap Nation: Lowly Palace Mix (Royalty Free)");
- menu.AddItem("song5", "Best Gaming Music | Melodic & Vocal NCS Mix ");
- menu.Display(client, MENU_TIME_FOREVER);
- }
- public m_eventsong(Menu menu, MenuAction action, client, index)
- {
- if(action == MenuAction_Select)
- {
- char szItem[12];
- menu.GetItem(index, szItem, sizeof(szItem));
- if(StrEqual(szItem, "song1"))
- {
- FakeClientCommand(client, "say FutureHouseMix");
- }
- else if(StrEqual(szItem, "song2"))
- {
- FakeClientCommand(client, "say ChillOutMusic");
- }
- else if(StrEqual(szItem, "song3"))
- {
- FakeClientCommand(client, "say Chill&MelodicMix");
- }
- else if(StrEqual(szItem, "song4"))
- {
- FakeClientCommand(client, "say TrapLowlyPalaceMix");
- }
- else if(StrEqual(szItem, "song5"))
- {
- FakeClientCommand(client, "say NCSGamingMix");
- }
- }
- else if(action == MenuAction_End)
- {
- delete menu;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement