Jump to content

[SOLVED] Camera event


luskanek

Recommended Posts

Posted (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 by Guest
Posted
bindKey('fire','down',function() 
    if getPlayerWeapon(localPlayer) == camera and getControlState('aim_weapon') then 
           --bam photo 
    end 
end) 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...