kenzake powah! Posted February 25, 2017 Posted February 25, 2017 Descriere: Cu acest plugin poti arunca cutit-ul si ramai cu "pumni"Descarcare: Get Plugin - Get Source - hands.zipNume: Drop KnifeVersiune: 1.2Autor: Alucard^Instalare:1. Fisierul knife_drop.sma il puneti in addons/amxmodx/scripting2. Fisierul knife_drop.amxx il puneti in addons/amxmodx/plugins3. Fisierul v_hands.mdl il puneti in cstrike/models4. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:knife_drop.amxxCvaruri: kd_type (Default: 2) 0: Players can't drop the knife. 1: Players can drop the knife but the knife disappear. 2: Players can drop the knife to the floor (ofcourse players can take a knife dropped). kd_onlyadmins (Default: 0) 0: All players can drop the knife. 1: Only Players/Admins with ADMIN_KICK flag can drop the knife (you can change the flag in the 4th define) If this cvar is enabled and you are not an admin, you will recive a msg when you try to drop the knife (telling you that only admins can do this action). kd_showmsg (Default: 1) 0: Don't show a center message in the screen of the player when he drop the knife. 1: Show a center message in the screen of the player when he drop the knife. kd_msg_cantdrop (Default: 1) 0: When you can't drop the knife you will not recive any msg (kd_type value have to be in 0). 1: When you can't drop the knife you will recive the normal msg "This weapon cannot be dropped". kd_menu_enable (Default: 1) *NEW 0: "Knife Buy Menu" disabled. 1: "Knife Buy Menu" enabled. kd_menu_cost (Default: 800) *NEW Cost of the knife, ofcourse kd_menu_enable cvar must be in 1. kd_usage (Default: 1) *NEW 0: Don't remove the knife when a player kill an enemy with a knife. 1: Remove the knife If a player kill (with knife) "X" number (controled by another cvar) of enemies. kd_kills (Default: 2) *NEW How much kills (with knife) can be made after remove the knife from the player. This cvar in 0/1 is the same. Also kd_usage have to be actived. kd_showmenu (Default: 1) *NEW 0: Don't show any menu if the knife was removed. 1: Show the "Knife Buy Menu" when the knife is removed. Ofcourse kd_usage & kd_menu_enable cvars must be enabled. Module necesare:#include <cstrike>#include <fakemeta>#include <hamsandwich>
Recommended Posts