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

Minecraft Knives (1.0.5 - 22.03.2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-07-2014 , 06:18   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #11

That is a pickaxe, a sword would be nice.
__________________
Kia is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 01-07-2014 , 08:07   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #12

Quote:
Originally Posted by Kia View Post
That is a pickaxe, a sword would be nice.
Do it with pick axe first then people can change to sword if they'd like.
__________________
jingojang is offline
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 01-08-2014 , 01:03   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #13

Nice idea.


But could you make the knockback more similar to minecraft? (jump up a bit)
Just a suggestion.
__________________
youtube:
@holla16

Last edited by 11922911; 01-08-2014 at 01:05.
11922911 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-08-2014 , 02:25   AW: Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #14

Quote:
Originally Posted by 11922911 View Post
Nice idea.


But could you make the knockback more similar to minecraft? (jump up a bit)
Just a suggestion.
Will be added.
__________________
Kia is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 01-08-2014 , 03:16   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #15

Kia use this method to block knife secondary attack, this method no longer need a new hamsandwich module.

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich> 

public plugin_init() 

    
register_plugin("No Stab""0.0.1""wbyokomo")
    
RegisterHam(Ham_Item_Deploy"weapon_knife""OnBlockStab"1)
    
RegisterHam(Ham_Weapon_PrimaryAttack"weapon_knife""OnBlockStab"1


public 
OnBlockStab(ent)
{
    
set_pdata_float(ent479999.94)


Last edited by yokomo; 01-08-2014 at 03:18.
yokomo is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-08-2014 , 05:39   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #16

Will be edited later, thank you.
__________________
Kia is offline
BlueGaming
BANNED
Join Date: Nov 2013
Old 01-08-2014 , 06:31   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #17

Kia nice plugin Bro , but no images ???
BlueGaming is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-08-2014 , 06:33   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #18

Quote:
Originally Posted by BlueGaming View Post
Kia nice plugin Bro , but no images ???
Yeah, lemme take a image of sounds being played and players being pushed.
__________________
Kia is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-03-2014 , 04:11   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #19

Code:
sizeof(g_szHitSounds)
This should be charsmax() ; because if you hit 3 (size of your array), it will get out of bound. It should sizeof array - 1.

Also instead of using a loop + equal, you could use a trie with old sounds as key ; so you would need only to use one native.
__________________

Last edited by Arkshine; 03-03-2014 at 04:15.
Arkshine is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-19-2014 , 07:28   Re: Minecraft Knives (1.0.2 - 07.01.2014)
Reply With Quote #20

Please report future bugs and suggestions via mail to : [email protected]

Since I get many messages from different ways I decided to set up this mail account so everything gets to one place.
__________________
Kia 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 09:17.


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