From d057d1282e04ce8a4debc84c443a6b26e883cd48 Mon Sep 17 00:00:00 2001 From: AurZum Date: Thu, 24 Dec 2015 23:25:06 +0300 Subject: [PATCH] Ver 1.0 --- amx_playlist_menu.amxx | Bin 0 -> 3706 bytes amx_playlist_menu.sma | 147 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 amx_playlist_menu.amxx create mode 100644 amx_playlist_menu.sma diff --git a/amx_playlist_menu.amxx b/amx_playlist_menu.amxx new file mode 100644 index 0000000000000000000000000000000000000000..e803109fb26720c6dc4ca67a6901c543c2f7216a GIT binary patch literal 3706 zcmV-=4u$bpSWQ6y0|5kL4gdfRPyhg2e*gd&0001Zob4Q2Y+TiGcKupEVy_)jQYDa0 za3E<-2qmQv<&m^NQ;5^h7zow2%gyff`oi4@d)J9wT;U>6(}LPm;sdGqNF_dy8dYhP zkA9>TAAImZB`W0uRgvnCe7F)-g_MtcEJ3Hs)bIzQZIWu$4 z`kr&Lj{q!wno1=h1y_>*)0+UYh|9hLa0Amm0GP$RKM~}Em>Z)2Pat&D0M8(Ndk`Rp z@XQe65ME9J%pe@?1b7AEVjsX82+wr^{01SV-wXV+z`qInhroXdyecr6WH=&lo4|Vo zJ|yr7fzJvo2&@WxRp8GBz9sOt0)Hp)j{^T9@UH^@F7OIM6ledx5N?IMo6DC9Ij>%+ z0zFh+Yi{|$b-X$(7ni1U6LS-Gc?PQPOwlRloU&6l&()fpxAN0Ac+-`WxvJ&*jdLZc zUbO4E8PBferd+G&f#c;0cEQP8bsH($wG(y?@|Chzacv~ylmEJGgr zN4JuLv^BIxg{n8~-t6HL$Gja*beoecUyHwTBiNf6yr(oXA%`n*^4MRgY1 zpxv&%w<|uL68cN);QfAu3)k0UNcG-SZMUfLnpHd#Pp>PU!!o2rhNQ?aD&rO&U#)|e zrB73CWX6!}+tbC4z*ZNKSE7Ys7v}N#B;lkCuB)=oxQrOl_CwDU-**YG^!|#-L~RJp ze#ZW=)!?Q6sMOC0&z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^Z{)6-rLo zH}k;QsXVxKhlnz1a&juu_wZ1CZbjNrrOP+-(7~ic6KkfZAlwn%AcPQ&h}(SV?1z>x z>D!r5V8@|jC#_Xji$N`#XA^L|QgN|@Ri49&Q*_l$jc&!kzUtGJ0(4?Y(X~sJf(>1A z6;3xCa*j{VRc+{j1EjViba_t-CTmvNd(xgm&W~1V^$DiX2M203G@X8Uv~svof7-Lr YU?*#i3CD4YQ=H-yr~lLRAGdr_rHBoNMgRZ+ literal 0 HcmV?d00001 diff --git a/amx_playlist_menu.sma b/amx_playlist_menu.sma new file mode 100644 index 0000000..e8ba815 --- /dev/null +++ b/amx_playlist_menu.sma @@ -0,0 +1,147 @@ +/* Plugin generated by AMXX-Studio */ + +#include +#include + +#define PLUGIN "AMX Menu Playlistt" +#define VERSION "1.0" +#define AUTHOR "AurZum" + +#define MAX_SONGS 10 + +new configsdir[200] +new configfile[200] +new song[MAX_SONGS][64] +new songdir[MAX_SONGS][64] +new bool:precached[MAX_SONGS] +new indexs[MAX_SONGS] + +public plugin_init() { + register_plugin(PLUGIN, VERSION, AUTHOR) + register_clcmd("amx_playlist_menu", "show_palylist_menu", ADMIN_LEVEL_E, ""); + register_concmd("amx_play","cmd_play",ADMIN_LEVEL_E," ") + register_concmd("amx_playlist","cmd_playlist",ADMIN_LEVEL_E," Displays a list of songs in the server playlist. ") + register_concmd("amx_stopplay","cmd_stop",ADMIN_LEVEL_E," Stops currently playing sounds/music. ") + register_clcmd("say /stop","cl_cmd_stop") + +} + +public show_palylist_menu(id, lvl, cid) { + if(!cmd_access(id, lvl, cid, 0)) + return PLUGIN_HANDLED; + + new menu = menu_create("Playlist Menu", "mh_MyMenu"); + + for(new i=0;i