Raised This Month: $51 Target: $400
 12% 

Minecraft Knives (1.0.5 - 22.03.2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-06-2014 , 10:37   Minecraft Knives (1.0.5 - 22.03.2014)
Reply With Quote #1

Minecraft Knives
- v1.0.2, last updated : 07.01.2014

This plugin is useful for knife servers. It disables the stabbing (secondary) attack from the knife and pushes the player away when you knife him.
It also replaces the default Knife Sounds with Sounds from MineCraft.


Requirements

CVars
  • mk_knockback (Default : 15) - Knockback Factor

Credits
  • wbyokomo - Blocking Stabbing Function

Change Log
v1.0.5 : [ 22.03.2014 ]
  • Some Code Fixes.
v1.0.2 : [ 07.01.2014 ]
  • Added Minecraft Sounds.
  • Some Code Fixes.



Attached Files
File Type: zip minecraftknives_res.zip (48.3 KB, 216 views)
File Type: sma Get Plugin or Get Source (minecraftknives.sma - 870 views - 4.0 KB)
__________________

Last edited by Kia; 03-22-2014 at 05:46.
Kia is offline
PyPKjE20
Member
Join Date: Dec 2010
Location: Lithuania
Old 01-06-2014 , 11:33   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #2

Video will be?
__________________

CS:GO Open Chest MOD IP: csgo.slimi.lt
New CS 1.6 CSGO IP: pub.slimi.lt
CS 1.6 Slimi RPG MOD http://rpg.slimi.lt
PyPKjE20 is offline
Send a message via Skype™ to PyPKjE20
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-06-2014 , 11:34   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #3

I do not think a video is neccessary, but maybe I will make one later.
__________________
Kia is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 01-06-2014 , 17:08   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #4

I'd love to see the minecraft damage-sounds in this plugin.
mottzi is offline
Send a message via MSN to mottzi
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 01-06-2014 , 18:29   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #5

You could add also option to have minecraft model, there is some skins of minecraft.
__________________
Jhob94 is offline
Going Dutch
Member
Join Date: Dec 2013
Old 01-06-2014 , 19:51   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #6

Interesting.. could use this for a lot of things.

Well done
__________________
Learning amxx/pawn and all that good stuff.

Last edited by Going Dutch; 01-07-2014 at 03:48. Reason: Damn it, auto correction.
Going Dutch is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-07-2014 , 03:42   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #7

Quote:
Originally Posted by mottzi View Post
I'd love to see the minecraft damage-sounds in this plugin.
Will be added.

Quote:
Originally Posted by Jhob94 View Post
You could add also option to have minecraft model, there is some skins of minecraft.
The player model? Or the Sword?

Quote:
Originally Posted by Going Dutch View Post
Interesting.. could use this tot a lot of things.

Well done
Thanks.
__________________
Kia is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 01-07-2014 , 04:12   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #8

You should check is attacker alive before get his weapon, because this can cause invalid attacker id.

It should be:
PHP Code:
    if(iAttacker != iInflictor || !is_user_alive(id) || !is_user_alive(iAttacker) || get_user_weapon(iAttacker) != CSW_KNIFE) return HAM_IGNORED 

Last edited by yokomo; 01-07-2014 at 04:13.
yokomo is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-07-2014 , 04:14   Re: Minecraft Knives (1.0.0 - 06.01.2014)
Reply With Quote #9

Quote:
Originally Posted by yokomo View Post
You should check is attacker alive before get his weapon, because this can cause invalid attacker id.

It should be:
PHP Code:
    if(iAttacker != iInflictor || !is_user_alive(id) || !is_user_alive(iAttacker) || get_user_weapon(iAttacker) != CSW_KNIFE) return HAM_IGNORED 
Will be edited, thanks.

Plugin updated to Vers. 1.0.2

Change Log
v1.0.2 : [ 07.01.2014 ]
  • Added Minecraft Sounds.
  • Some Code Fixes.
__________________

Last edited by Kia; 01-07-2014 at 04:16.
Kia is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 01-07-2014 , 06:13   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #10

Here is a pretty solid model.

Good Job +1
__________________
jingojang is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode