RSSy MYGO.pl Opublikowano Kwiecień 24, 2018 o 17:45 RSSy Udostępnij Opublikowano Kwiecień 24, 2018 o 17:45 Description: A quick plugin, designed to detect spawn killers on course maps and respawn players. (primarily for minigames server). The plugin also provides an effective spawn protection on non-course maps. This plugin was inspired by Franc1sco Franug's Auto Respawn Plugin, however only utilises his method for detecting course maps. For those interested that don't want to bother looking through the code, it essentially works by checking for every disabled trigger_hurt at the beginning of the map, it then checks through these trigger_hurt's for spawn points. If it finds any spawn points, that trigger_hurt is added to an array and that array is set to be checked on a 0.1s timer, checking the disabled status of each trigger_hurt. See, whereas most other auto respawners require one or more players to die, in some cases twice, this detection method doesn't disrupt the player's experience. As for the spawn protection, it's just the usual spawn protection timer, however it is properly terminated when the player dies, the round ends, or they leave the server (this prevents the player's spawn protection being ended prematurely, in the next round).Cvars: Quote: sm_auto_respawn "1" // Enable Auto-Respawn. sm_spawn_protection "1" // Enable Spawn Protection. sm_protect_time "5.0" // Set the Spawn Protection Duration. Attached Files Get Plugin or Get Source (autores_spawnprotect.sp - 6.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się