RSSy MYGO.pl Opublikowano Październik 1, 2023 o 13:57 RSSy Udostępnij Opublikowano Październik 1, 2023 o 13:57 Description 1.Allow survivors automatically recover their real(main) health. based on [L4D2] Automatic Healing(Health Regeneration)Cvars PHP Code: // how many health heal once // - // Default: "1" // Minimum: "1.000000" automatic_healingr_health "1" // 1 = enable, 0 = disable. interrupt healing on hurt? // - // Default: "1" automatic_healingr_interrupt_on_hurt "1" // max health of healing // - // Default: "30" // Minimum: "2.000000" automatic_healingr_max "30" // repeat interval after healing start // - // Default: "1.0" // Minimum: "0.000000" automatic_healingr_repeat_interval "1.0" // 0 = disable, 1 = replace health buffer when healing // - // Default: "0" automatic_healingr_replace_health_buffer "1" // how long time need to wait after the interruption to start healing // - // Default: "5.0" // Minimum: "0.000000" automatic_healingr_wait_time "5.0" Natives(for developers) Spoiler PHP Code: /** * @brief restart someone's healing * * @param client client index * * @return true if actually restart the healing, false if needn't. * * @error invalid client index, or client not in game, or client not an alive and none-incapacitated survivor. */ native bool AutomaticHealingR_WaitToHeal(int client); Change log Spoiler Code: 1.1 (2023-10-01: init public release. Attached Files automatic_healingr.inc (802 Bytes) Get Plugin or Get Source (automatic_healingr.sp - 7.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi