[Help] AWP Shoot Straight
I tried but i still can't shoot it straight with no-zoom
Could someone tell me how to do it ? :) PHP Code:
PHP Code:
|
Re: [Help] AWP Shoot Straight
public fw_TraceAttack(iEnt, iAttacker, Float:flDamage, Float:fDir[3], ptr, iDamageType)
{ if(!is_user_alive(iAttacker)) return new g_currentweapon = get_user_weapon(iAttacker) if(g_currentweapon != CSW_AWP || !awp[iAttacker]) return static Float:flEnd[3] get_tr2(ptr, TR_vecEndPos, flEnd) if(!is_user_alive(iEnt)) { message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_DECAL) write_coord_f(flEnd[0]) write_coord_f(flEnd[1]) write_coord_f(flEnd[2]) write_byte(GUNSHOT_DECALS[random_num (0, sizeof GUNSHOT_DECALS -1)]) write_short(iEnt) message_end() message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_WORLDDECAL) write_coord_f(flEnd[0]) write_coord_f(flEnd[1]) write_coord_f(flEnd[2]) write_byte(GUNSHOT_DECALS[random_num (0, sizeof GUNSHOT_DECALS -1)]) message_end() message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_GUNSHOTDECAL) write_coord_f(flEnd[0]) write_coord_f(flEnd[1]) write_coord_f(flEnd[2]) write_short(iAttacker) write_byte(GUNSHOT_DECALS[random_num (0, sizeof GUNSHOT_DECALS -1)]) message_end() } } |
All times are GMT -4. The time now is 13:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.