Force weapon fire [TF2]

Please post any questions about developing your plugin here. Please use the search function before posting!
123marble
Junior Member
Posts: 6
Joined: Fri Mar 03, 2017 5:46 pm

Force weapon fire [TF2]

Postby 123marble » Sun Mar 05, 2017 11:52 am

If anyone can assist me, please. I'm looking for a method of forcing a specific player to fire their weapon. I understand that in the console you type +attack and weapon fire is forced, but I could not find a method of doing this through code.

Any replies will be greatly appreciated. Thanks!
User avatar
VinciT
Senior Member
Posts: 331
Joined: Thu Dec 18, 2014 2:41 am

Re: Force weapon fire [TF2]

Postby VinciT » Sun Mar 05, 2017 7:27 pm

Tested in HL2DM, should work in TF2 as well:

123marble
Junior Member
Posts: 6
Joined: Fri Mar 03, 2017 5:46 pm

Re: Force weapon fire [TF2]

Postby 123marble » Wed Mar 08, 2017 10:15 pm

Thank you!

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 36 guests