force famas bustfire
I need to make it so the famas can only burstfire and that right click does nothing to it
|
Re: force famas bustfire
You can hook Ham_Item_Deploy and set m_flNextSecondaryAttack to 9999.0, and also use cs_set_weapon_burst.
Then hook Ham_Weapon_PrimaryAttack and set m_flNextSecondaryAttack to 9999.0. You might also have to set m_flNextSecondaryAttack to 9999.0 when the player finishes reloading too. |
Re: force famas bustfire
Try this :
PHP Code:
|
Re: force famas bustfire
Sorry to bring up an old post, but is there anyway to use this just to force bots to use burst mode?
|
Re: force famas bustfire
Use it with "is_user_bot".
|
Re: force famas bustfire
That worked. I put in the wrong place before. Thanks!
|
Re: force famas bustfire
What am I missing to get this to work with glock18?
PHP Code:
|
Re: force famas bustfire
Also, currently the famas code is forcing human players to burst as well as bots. I would like it only to force bots. Any help would be much appreciated.
|
Re: force famas bustfire
Don't triple post...
You should check also in Spawn Post. And probably glock got another offsets than famas. |
Re: force famas bustfire
When you put a condition ( if )
All the code that should follow that condition should be into { and } PHP Code:
|
| All times are GMT -4. The time now is 11:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.