RSSy MYGO.pl Opublikowano Maj 22, 2021 o 19:15 RSSy Udostępnij Opublikowano Maj 22, 2021 o 19:15 Descptions: Imitate sourcemod admin vote for all players. Attachment 189340 Update Log: Code: v1.0 (23 May 2021)- Initial. Features:3 votes in one plugin (Kick, Ban, Slay, and Change Map(TODO: Not finished. Finish it if anyone has time)) Show who agrees the vote Show agreement percentage of the vote Multiple Language supported Imitate sourcemod vote Action log Player list filter How to use?Type !ivote to open vote menu ConVars: PHP Code: // This file was auto-generated by SourceMod (v1.10.0.6494) // ConVars for plugin "l4d2_ivote.smx" // Filter BOT in the players list (bot_included > 0 only) // 0=Off, 1=Survivor, 2=Infected // - // Default: "2" // Minimum: "0.000000" // Maximum: "2.000000" l4d2_botFilter "2" // Is vote slay on? // 0=Off, 1=On but not included in kick and ban vote list. 2=On all. // - // Default: "1" // Minimum: "0.000000" // Maximum: "2.000000" l4d2_botIncluded "1" // Is vote ban (15min.) on? // 0=Off, 1=On // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_ivoteBanOn "1" // Is vote kick on? // 0=Off, 1=On // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_ivoteKickOn "1" // (NOT FINISHED) Is vote map on? // 0=Off, 1=On // - // Default: "0" // Minimum: "0.000000" // Maximum: "0.000000" l4d2_ivoteMapOn "0" // Is vote slay on? // 0=Off, 1=On // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_ivoteSlayOn "1" // L4D2 ivote version // - // Default: "v1.0" l4d2_ivote_version "v1.0" // percent required for successful kick vote // - // Default: "0.60" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_passPercentage "0.60" // Is vote slay on? // 0=Off, 1=On // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_selfIncluded "1" // Will different team players not be included in the players list? // 0=Off, 1=On // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_teamFilter "1" // What is the cool down time of each vote for every player? // - // Default: "30.0" // Minimum: "0.000000" l4d2_vote_cd "30.0" Notice: If you found anybugs, please feel free to let me know. Pre-Installation: Nope. Installation: Just unzip it to the sourcemod directory. Translations: Only en, zho, chi Contect me: Steam Attached Images ivote (1).jpg (46.9 KB) Attached Files l4d2_ivote_v1.0.zip (22.1 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi