Raised This Month: $ Target: $400
 0% 

[Help] AWP Shoot Straight


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 03-10-2014 , 09:15   [Help] AWP Shoot Straight
Reply With Quote #1

I tried but i still can't shoot it straight with no-zoom
Could someone tell me how to do it ?

PHP Code:
public fw_TraceAttack_Player(entattackerFloat:DamageFloat:fDir[3], ptriDamageType)
{
    if(!
Get_BitVar(g_IsAliveattacker))
        return 
HAM_IGNORED    
    
if(get_user_weapon(attacker) != CSW_AWP)
        return 
HAM_IGNORED

    
static Float:AimOrigin[3]; fm_get_aim_origin(attackerAimOrigin)
    
set_tr2(ptrTR_vecEndPosAimOrigin)

    return 
HAM_HANDLED
}

public 
fw_TraceAttack_World(entattackerFloat:DamageFloat:fDir[3], ptriDamageType)
{
    if(!
Get_BitVar(g_IsAliveattacker))
        return 
HAM_IGNORED
    
if(get_user_weapon(attacker) != CSW_AWP)
        return 
HAM_IGNORED

    
static Float:AimOrigin[3]; fm_get_aim_origin(attackerAimOrigin)
    
set_tr2(ptrTR_vecEndPosAimOrigin)

    return 
HAM_HANDLED

and also tried but not work
PHP Code:
public fw_Weapon_PriAttack(Ent)
{
    if(
pev_valid(Ent) != 2)
        return
    static 
IdId get_pdata_cbase(Ent414)
    if(
get_pdata_cbase(Id373) != Ent)
        return
        
    
pev(Idpev_velocityg_Velocity[Id])
    
set_pev(Idpev_velocity, {0.00.00.0})
}

public 
fw_Weapon_PriAttack_Post(Ent)
{
    if(
pev_valid(Ent) != 2)
        return
    static 
IdId get_pdata_cbase(Ent414)
    if(
get_pdata_cbase(Id373) != Ent)
        return

    
set_pev(Idpev_velocityg_Velocity[Id])


Last edited by dias; 03-10-2014 at 09:38.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
 



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 05:59.


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