[ANY] Grenade Delay 1.1.0 Описание: Плагин позволяет менять время(задержку) до взрыва гранаты и дает возможность сделать его рандомным
Квары: PHP код: // Средняя задержка перед взрывом ? (if grenadedelay=0, plugin is disabled) // - // Default: "5.0" // Minimum: "0.000000" grenadedelay "5.0"
// Максимальное время добавляемое к 'grenadedelay' после взрыва. Will be random. 0.0 = без рандома // - // Default: "0.0" // Minimum: "0.000000" grenadedelay_random "0.0"
// Какие типы гранат будут задействованы плагином // - // Default: "hegrenade_projectile flashbang_projectile" grenadedelay_string "hegrenade_projectile flashbang_projectile"
История изменений: Код HTML: 1.0.0 Initial release. (11-07-2013) 1.0.1 Changed grenadedelay_string's default to "hegrenade_" rather than "grenade_", so smoke can explode <.< . (12-07-2013) 1.0.2 (12-07-2013) Put "m_nNextThinkTick" to 1, so if the grenade cannot be exploded via damage, it still does its logic. ^ ==> This means smokes can now be delayed, thought they won't explode before their normal delay (which is when they stop moving; or when they have a "certain" movement). Now uses OnEntitySpawned. 1.0.3 (12-07-2013) Changed minimum delay between spawning time from 0.1 to 0.0. ^ ==> This possible apparently because the timers are created OnEntitySpawned rather than OnEntityCreated. 1.1.0 (13-07-2013) Tested under CS:GO. ConVar "grenadedelay_string" now works differently. Each projectile's classname must be specified (no more StrContains(); which was problematic if you wanted more than 1 projectile with really different name). Since "grenadedelay_string"'s function works differently, you really should delete your config file, or be sure to change the value in the .cfg (since new default "grenadedelay_string"'s value won't be effective if you already tried my plugin)
Оригинал |