Thread: [Subplugin Submission] [ZP43 | ZP50] Crowbar v1.1 [Extra Item]
View Single Post
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-05-2017 , 09:18   [ZP43 | ZP50] Crowbar v1.1 [Extra Item]
Reply With Quote #1

.: Description :.
Quote:
Crowbar Is A Powerful Extra Item Weapon, It's A Metallic Weapon With Knockback And Ultra Damage Included Now Brought Into Zombie Plague As An Extra Item. It Lasts Only 1 Round.
.: Installation :.
Quote:
_PLUGIN_
zp_crowbar.sma -- > \addons\amxmodx\scripting
zp_crowbar.amxx (Compile Locally) -- > \addons\amxmodx\plugins

_MODEL_
crowbar_v.mdl -- > \models\crowbar
crowbar_p.mdl -- > \models\crowbar

_SOUND_
knife_stab.wav -- > \sound\weapons\crowbar
knife_slash1.wav -- > \sound\weapons\crowbar
knife_slash2.wav -- > \sound\weapons\crowbar
knife_hitwall1.wav -- > \sound\weapons\crowbar
knife_hit4.wav -- > \sound\weapons\crowbar
knife_hit3.wav -- > \sound\weapons\crowbar
knife_hit2.wav -- > \sound\weapons\crowbar
knife_hit1.wav -- > \sound\weapons\crowbar
knife_deploy1.wav -- > \sound\weapons\crowbar
.: Cvars :.
Quote:
crowbar_damage 3 (default) // Damage Multiplier
crowbar_knockback 30 (default) // Knockback
.: Console Admin Commands :.
Quote:
crowbar_get // Gets FREE Crowbar
.: Credits :.
Quote:
MeRcyLeZZ - Developer of ZP
CHyC/4e/l - Developer of ZP Knife Menu (took Knockback code and sound replacement from it)
.: Changelog :.
Quote:
(*) v1.1 (*)
- Fixed the invalid player id errors in Ham_TakeDamage
- Fixed the index out of bounds in Ham_Item_Deploy Post
- Removed Ham_Killed because it's not needed if we use Ham_Spawn (He anyways will spawn)
- Used zp_user_infected_post and zp_user_humanized_post to block Survivor/ Nemesis/ Zombies from using the Crowbar
- Added a new stock (zp_get_user_human)
- Used get_pdata_cbase instead of pev_owner
- Added colorchat.inc in the ZIP archive (addons/amxmodx/scripting/include)

(*) v1.0 (*)
- First Public Release
.: Screenshot :.


Attached Files
File Type: sma Get Plugin or Get Source (zp_crowbar_v1.1.sma - 867 views - 6.3 KB)
File Type: zip zp_crowbar_v1.1.zip (199.2 KB, 209 views)
__________________

Last edited by edon1337; 02-06-2017 at 08:31.
edon1337 is offline