RSSy MYGO.pl Opublikowano Grudzień 19, 2018 o 16:39 RSSy Udostępnij Opublikowano Grudzień 19, 2018 o 16:39 Description This plugin customizes grenades trajectories, airtime, bounces before explode, knockback to make them fun to play with in combat surf. It is best used with this plugin that unlocks grenade velocity limit : https://forums.alliedmods.net/showth...27#post2629927Installation Upload the smx to the plugins folder. A config file named csurfnade.cfg will be created on first start in /csgo/cfg/sourcemod/CVars Code: // How much bounces before exploding // - // Default: "1" sm_csn_bounces "1" // Enable this plugin // - // Default: "1" sm_csn_enable "1" // How long will the flash stays in air before exploding // - // Default: "10" sm_csn_flash_airtime "10" // Disable the white screen from the flashbang // - // Default: "1" sm_csn_flash_disable_blind "1" // The speed given by the flashbang // - // Default: "750" sm_csn_flash_kb_pushspeed "750" // The Flashbang knockback radius // - // Default: "250" sm_csn_flash_kb_radius "250" // How long will the HE stays in air before exploding // - // Default: "10" sm_csn_he_airtime "10" // The speed given by the HE knockback // - // Default: "1500" sm_csn_he_kb_pushspeed "1500" // The HE grenade knockback radius // - // Default: "384" sm_csn_he_kb_radius "384" // Enable the grenades knockback // - // Default: "1" sm_csn_kb_enable "1" // Turn noblock on for players but allows grenade hitting // - // Default: "1" sm_csn_player_collision "1" // Add damages to the snowball // - // Default: "30" sm_csn_snowball_damage "30" // Enable unlimited freezing snowballs // - // Default: "1" sm_csn_snowball_enable "1" // Enable Grenade tails // - // Default: "1" sm_csn_tails_enable "1" // Enable the alternate trajectory system // - // Default: "1" sm_csn_trajectory_enable "1" // The base speed given to the grenade // - // Default: "1250" sm_csn_trajectory_speed "1250" Developper Code: /* * Event on player hit by knockback * * @param int Player who got hit by the knockback * @param int Entity which triggered the knockback */ forward int CSurfNades_OnPlayerHit(int client,int entity); This forward is getting triggered when a Player is hit by a knockback (I use it to make the player drop the flag when it's hit by a flashbang.Notes Hey, Its my third plugin, and I think a lot of combat surf server owner would be pleased to use it. If you have any suggestions, bug, feeback, feel free to leave a comment below! Have fun Attached Files csurfnades.inc (289 Bytes) Get Plugin or Get Source (csurfnades.sp - 12.6 KB) csurfnades.smx (17.5 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ę