RSSy MYGO.pl Opublikowano Maj 7, 2021 o 14:46 RSSy Udostępnij Opublikowano Maj 7, 2021 o 14:46 This plugin makes the clients download a custom mp3 on connect and an admin with vote flag can play it by chat command: !thebestthing Based on ([L4D/Any?] Map (round) Start Music Player (infinite tracks)) by Dragokas and Harry Potter Preperation: in Server.cfg allowdownload and set path to DL folder: Create mp3 encoded in 44100 Hz sample rate, otherwise it may not play at all. See attached file in zip file for testing. sm_cvar sv_allowdownload "1" sm_cvar sv_downloadurl "http://your-content-server.com/game/left4dead/" Create a folder in: Quote: http://your-content-server.com/game/left4dead/ called sound and in there another folder called random Put the testfile there. Manually check if downloadable from: Quote: http://your-content-server.com/game/...ebestthing.mp3 Compile l4d_thebestthing.sp and place l4d_thebestthing.smx into sourcemod/plugins folder. If all went well you should connect to the server, the client downloads the mp3 and if you are admin with ADMFLAG_VOTE you can play that file via chat !thebestthing Allied Modders is the best thing since sliced bread. Take it as a statement. Have Fun! p.s. Just like all the other plugins messing with the download table it makes players with a MAC crash. Well better get a real computer anyways. Attached Files thebestthing.zip (40.5 KB) Get Plugin or Get Source (l4d_thebestthing.sp - 1.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi