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

[REQ]Cs. 1.6 no stab animation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xStk
Member
Join Date: Jun 2011
Old 03-28-2017 , 17:00   [REQ]Cs. 1.6 no stab animation
Reply With Quote #1

hey i have hns sever
and i am lookin for no stab animation
i search in the forums and all not god
xStk is offline
xStk
Member
Join Date: Jun 2011
Old 03-29-2017 , 14:55   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #2

??
xStk is offline
Visinescu
Senior Member
Join Date: Dec 2015
Location: England now,Home Romania
Old 03-29-2017 , 21:15   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #3

Wrong section and wrong forum.

You can't make a knife have no stab animation through plugins, you need a knife model for that.
Visinescu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-30-2017 , 08:35   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #4

Quote:
Originally Posted by Visinescu View Post
Wrong section and wrong forum.

You can't make a knife have no stab animation through plugins, you need a knife model for that.
Correct section and correct forum. You can easily transform the secondary attack to primary, so there will be no stab animation.

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

public plugin_init() 
{
    
register_plugin("No Knife Stab""1.0""OciXCrom")
    
RegisterHam(Ham_Weapon_SecondaryAttack"weapon_knife""PreKnifeStab")
}

public 
PreKnifeStab(id)
{
    
ExecuteHamB(Ham_Weapon_PrimaryAttackid)
    return 
HAM_SUPERCEDE

__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Visinescu
Senior Member
Join Date: Dec 2015
Location: England now,Home Romania
Old 03-30-2017 , 17:26   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Correct section and correct forum. You can easily transform the secondary attack to primary, so there will be no stab animation.

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

public plugin_init() 
{
    
register_plugin("No Knife Stab""1.0""OciXCrom")
    
RegisterHam(Ham_Weapon_SecondaryAttack"weapon_knife""PreKnifeStab")
}

public 
PreKnifeStab(id)
{
    
ExecuteHamB(Ham_Weapon_PrimaryAttackid)
    return 
HAM_SUPERCEDE

You're missing the point, he's just trying to remove the animation not the entire attack .

Example> "I click right mouse with my knife selected and the animation does not happen , it just stays still like the idle animation but stab still happens just not visually" .
Visinescu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-30-2017 , 20:12   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #6

I'm pretty sure that's not what he wants. Why would he want that? Usually in HnS servers both attacks are the same, so...
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-30-2017 , 20:22   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #7

Well, I think the code of the OciXCrom is better because the following method block all animations of the knife, but its possible to check if the player clicked the right button, and use it to block the stab.

Code:
#include <amxmodx> #include <fakemeta> #include <engine> public plugin_init() {     register_plugin("teste", "1.0","crazy");         register_forward(FM_UpdateClientData, "fw_UpdateData_Post", 1) } public fw_UpdateData_Post(id, sendweapons, cd_handle) {     if (get_user_weapon(id) != CSW_KNIFE)         return FMRES_IGNORED;             set_cd(cd_handle, CD_flNextAttack, halflife_time() + 0.001);         return FMRES_HANDLED; }
__________________








CrazY. is offline
Visinescu
Senior Member
Join Date: Dec 2015
Location: England now,Home Romania
Old 04-01-2017 , 21:59   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #8

Quote:
Originally Posted by xStk View Post
hey i have hns sever
and i am lookin for no stab animation
i search in the forums and all not god
i'm pretty sure he only wants the stab animation off.
Visinescu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-02-2017 , 10:29   Re: [REQ]Cs. 1.6 no stab animation
Reply With Quote #9

I suggest we let the guessing aside and let him explain what he needs if he ever remembers that he posted this topic.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 10:13.


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