RSSy MYGO.pl Opublikowano Październik 4, 2022 o 18:30 RSSy Udostępnij Opublikowano Październik 4, 2022 o 18:30 Description:More simple version of Simple Welcome Message by Zuko with some additional features aimed to prevent players from be distracted from gameplay due to these ads:Ability to display message to observers only Ability to display message to dead players only (optional) Don't display ads when there is at least 1 tank on the field (for L4D game) More flexible controlling over timing, e.g. delay between messages and delay between each full cycle of messages Settings (ConVars): Can be found in: cfg/sourcemod/plugin.simplewelcomemsg PHP Code: // Enable/Disable Plugin sm_swm_enable "1" // When the message should be displayed after the player join on the server (in seconds) sm_swm_timer "10.0" // Frequence of each message in queue (in seconds) sm_swm_timerrepeat "10.0" // When the next cycle of messages should begin (delay in seconds). 0 - to disable sm_swm_timernextcycle "30.0" // Number of the last line to show sm_swm_lastline "2" // Show advertisements to dead players only sm_swm_deadonly "0" // Show advertisements to spectators only sm_swm_speconly "0" Quick setup: - edit ConVar sm_swm_lastline to as many different items as you want to display - edit translations/simplewelcomemsg.phrases.txt to whatever messages you want - to add more items, e.g. set "sm_swm_lastline" "3" and create new translation item named "WelcomeMsg3" etc. Supported games: - ANY Requirements: - colors.inc by exvel or this version - (optional) Left 4 Dragokas - to support hiding ads when tank is on the field (in L4D games) Translations: - Included, modify file: translations/simplewelcomemsg.phrases.txt ChangeLog * Version 1.3 (16.08.19) * - Removed most of the code (panel based msg etc.) * - Added ability to show messages one by one with interval * - Added ability to define start delay and interval delay separately * - Disabled messages when tanks is on the field * * Version 1.4 (22.11.19) * - Converted to a new syntax and methodmaps * - Modified to support latest colors.inc Credits: - @Zuko - the original author P.S.: - It's my private modification written for myself and my Bloody Witch team. - Project and updates discontinued. Don't ask. Attached Files SimpleWelcome.zip (17.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi