luskanek Posted July 18, 2015 Share Posted July 18, 2015 (edited) Hey, I'm looking for an event which triggers when the player aims or takes a picture with the Camera. onClientPlayerWeaponFire() -- doesn't support the camera and I couldn't find anything else. Thanks. Edited July 18, 2015 by Guest Link to comment
Buffalo Posted July 18, 2015 Share Posted July 18, 2015 bindKey('fire','down',function() if getPlayerWeapon(localPlayer) == camera and getControlState('aim_weapon') then --bam photo end end) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now