Gib-Slay (aka Gory-Slay)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Gib-Slay (aka Gory-Slay)

Post by greenie »

/********************************************* *******
*
* Name: M2's Gib-Slay
* Version: 1.8
* Date: 10-16-2007
* E-mail: wesley.phantomtrilogy3@gmail.com
* Website: www.killmachine.com
*
* Description:
* - This plugin will slay a player which results in a mess of guts, bones, and blood.
*
* Commands:
* - amx_gibslay <authid, nick, @team, @all or #userid> [REQUIRES ADMIN_SLAY FLAG]
* - amx_gibslay_nk <authid, nick, @team, @all or #userid> [REQUIRES ADMIN_SLAY FLAG]
* - amx_gibslay_aim <target in crosshair> [REQUIRES ADMIN_SLAY FLAG]
* - amx_gibslay_nk_aim <target in crosshair> [REQUIRES ADMIN_SLAY FLAG]
*
* Command Details:
* - amx_gibslay will gib-slay the target player.
* - amx_gibslay_nk (nk = no kill) will gib-slay the target, but the target is not harmed.
* - amx_gibslay_aim will gib-slay the player in your crosshair.
* - amx_gibslay_nk_aim will execute the nasty gib-slaying effect on the player in your crosshair.
*
* CVARs:
* - m2_gs_count <1-500> - number of gibs (default 25)
* - m2_gs_velocity <1-9999> - velocity of gibs (default 250)
* - m2_gs_life <1-999> - how long the gibs stay on the floor (default 30)
* - m2_gs_gibtype <1|2> - what kind of gibs are used; 1 = human, 2 = alien (default 1)
* - m2_gs_immunity <1|0> - if this is 1, players with immunity are not harmed (default 1)
* - m2_gs_enabled <1|0> - enables/disables gib-slaying (default 1)
* - m2_gs_customsound <1|0> - use a custom sound if the file exists; 1 = on, 2 = off (default 1)
* - m2_gs_usesound <1|0> - use sound when gib-slaying; 1 = on, 2 = off (default 1)
* - m2_gs_logging <1|0> - enables/disables logging of gib-slaying; 1 = on, 2 = off (default 1)
*
* Notes:
* - Be nice to players with lower-end machines; they can't always handle large amounts of entities.
* - Valid teams for TFC: @blue, @red, @yellow, @green
* - Valid teams for CS: @CT, @T
*
* Special Thanks (and Credits):
* - KiLL Machine Guild -[KM]- (www.killmachine.com)
* - Special thanks to |SPANKIN|SamuraiBarbi-[KM]- for helping me test this plugin.
* - AMX Mod X community for awesome support.
* - -={*UGC*}=-$ilent$niper for pointing out the visible spectator bug.
* - Ultimate Gore Enhancement for blood decals.
* - Zenith77 for pointing me to a thread with decal ID's.
*
* Known Bugs:
* - If gib-slaying a player the moment they respawn, their body will not be set invisible.
* - Using the _aim commands may not work on the first try, and repeatedly pressing the button
* which it's bound to will not make it any more efficient.
*
* Changelog:
* - 1.0: Initial release.
* - 1.1: Added control over the amount of gibs and the velocity; Cleaned up code.
* - 1.2: Added control to enable/disable the plugin; Cleaned up code.
* - 1.3: Added control to the life of the gibs and how much blood is created; Revised permissions.
* - 1.4: Code cleanup; Removed logging; Removed useless functions; Removed redundant code.
* - 1.5: Added alien gibs; Change CVAR "m2_gs_gibtype" to "2" for alien gibs; Removed a glitch.
* where spectators would be visible while this plugin was enabled; Extra blood effect for TFC when
* using the human gib-slay type; Removed CVAR "m2_gs_bloodlevel", as it was unnecessary and could
* easily be abused.
* - 1.6: Added ability to gib-slay multiple targets at once; Added immunity control; Added ability
* to change between the custom sound and default sound (only if the custom sound exists, or else the
* default sound will be used no matter what).
* - 1.7: Added a new way to gib-slay by using the new _aim commands to slay the player in one's
* crosshair.
* - 1.8: Added logging again.
*
********************************************* *******/
sound.zip
get plugin
get source
Post Reply

Return to “Admin Commands”