RSSy MYGO.pl Opublikowano Kwiecień 5, 2021 o 15:58 RSSy Udostępnij Opublikowano Kwiecień 5, 2021 o 15:58 Last Man Standing: Knife Fight Description: When two players are left alive (FFA Support for CS:GO) they are prompted to Knife Fight. When the fight begins, player's weapons are removed and given back after the end of the fight. If the bomb is planted, the Knife Fight will not trigger. If enabled, a random song will be played during the fight. Commands: !kfmenu - Preferences for fight songs and auto-accept/decline. Also used to show the fight panel if you change your mind. Dependencies: * Dev Zones - Franc1sco https://forums.alliedmods.net/showthread.php?t=224839 Configuration: Code: // Teleport player to a specific zone on a map (zone must be named <mapname>_knifefight // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" sm_knifefight_devzones "1" // Play random song from config during the fight // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" sm_knifefight_fightsong "1" // Force players to fight // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" sm_knifefight_forcefight "0" // Min players to allow knife fight // - // Default: "3" sm_knifefight_minplayers "3" // Teleport players before the fight // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" sm_knifefight_teleport "0" // Duration of the knife fight // - // Default: "30" sm_knifefight_time "30" Code: "Songs" { //"Song Name" //{ // "path" "Song Path" //} } Forwards for developers: Code: /** * Called when the Knife Fight starts */ forward void OnKnifeFightStart(int player1, int player2) /** * Called when the Knife Fight ends */ forward void OnKnifeFightEnd(int winner) Credits: * Knife Fight by altex and all credits listed there https://forums.alliedmods.net/showthread.php?p=847532 GitHub Repository Direct Download Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi