DbLockObjectOn

With this command, you can "lock" the gun to the camera to stop it moving. This is useful for guns for an FPS or a 3d HUD. Be sure to position the object correctly first!

Syntax
dbLockObjectOn(int ObjectID);