Quote:
Originally Posted by Bos93
PHP Code:
#include < amxmodx > #include < fakemeta >
public plugin_init( ) { register_forward( FM_UpdateClientData, "UpdateClientData__Post", ._post = true ); }
public UpdateClientData__Post( pPlayer, SendWeapons, CD_Handle ) { static iAnim; iAnim = get_cd( CD_Handle , CD_WeaponAnim ); switch( iAnim ) { case 3, 4, 5: set_cd( CD_Handle , CD_WeaponAnim , 3 ); } return FMRES_HANDLED; }
|
iAnim cant return shot anim..
i see it by using client_print
Quote:
Originally Posted by bibu
Can't you hook with ham SendWeaponAnim?
|
can you give me an example please