Raised This Month: $ Target: $400
 0% 

[Help] Speed UP Weapon Fire Rate F.E : P90


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-12-2009 , 12:57   Re: [Help] Speed UP Weapon Fire Rate F.E : P90
Reply With Quote #4

Quote:
Originally Posted by Hunter-Digital View Post
This should do the trick:
PHP Code:
RegisterHam(Ham_Weapon_PrimaryAttack"weapon_p90""fwHam_p90rof"1)
 
public 
fwHam_p90rof(entset_pdata_float(ent460.05
0.05 is the time between bullets and 46 is the primary offset, 47 is for secondary attack
You shouldn't hook PrimaryAttack unless the offset value get reset after attacking.
Probably hook Ham_Item_Deploy or Ham_Item_AddToPlayer would be the best way.

Edit:

Or Ham_Spawn (of the weapon)
__________________

Last edited by joaquimandrade; 05-12-2009 at 13:23.
joaquimandrade is offline
 



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 01:28.


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