View Single Post
LuqS
AlliedModders Donor
Join Date: Jun 2019
Location: Israel
Old 08-27-2021 , 05:50   Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
Reply With Quote #4

Quote:
Originally Posted by Cruze View Post
This fixes animation issues for weapons and grenades. Basically only shows rare animation on deagle and knives.
PHP Code:
#include <sourcemod>
#include <sdktools>
#include <RareAnimationController>

public Action OnRareAnimation(int clientint weaponint sequence_typeint sequence_indexfloat duration)
{
    
char sWeapon[64];
    
GetEntityClassname(weaponsWeapon64);
    
    if(
StrContains(sWeapon"knife") != -|| StrContains(sWeapon"deagle") != -1)
    {
        return 
Plugin_Continue;
    }
    return 
Plugin_Handled;

Already fixed the issue, i will roll out the release now.
__________________
You like my work? You want to support?
Consider Donating!

Need signatures / offsets for CS:GO?
Contact me:

Last edited by LuqS; 08-27-2021 at 05:51.
LuqS is offline