Skip to content

ViewCam Enforcer

Explore our resource’s outstanding features that enhance your server’s gameplay experience.

  • Limited Camera Modes: Restricts players to only two camera modes - first person and close third person.
  • Forced First-Person Shooting: Option to automatically switch players to first-person view when shooting.
  • Separate On-Foot and Vehicle Settings: Allows for different rules when on foot versus in a vehicle.
  • Dynamic View Switching: Ability to restore camera view when aiming stops.
Forced between 2 camera modes
Forced First Person on Aim

Config.ViewCamForcer = {
EnabledFoot = false,
DefaultViewCamOnFoot = 0,
FirstPersonShooting = true,
RestoreViewCamOnAimStop = true,
EnabledVehicle = true,
EnabledFirstPersonVehicleShooting = true,
RestoreVehicleViewCamOnAimStop = true,
}
  1. EnabledFoot:
    • Toggles the View Cam Forcer for on-foot gameplay.
  2. DefaultViewCamOnFoot:
    • Sets the default camera view for on-foot gameplay.
    • 0 for close third person, 4 for first person.
  3. FirstPersonShooting:
    • When enabled, automatically switches to first-person view while shooting on foot.
  4. RestoreViewCamOnAimStop:
    • If enabled, returns the camera to the default view when the player stops aiming.
  1. EnabledVehicle:
    • Toggles the View Cam Forcer for in-vehicle gameplay.
  2. EnabledFirstPersonVehicleShooting:
    • Forces first-person view when shooting from vehicles if enabled.
  3. RestoreVehicleViewCamOnAimStop:
    • Returns the camera to the default vehicle view when aiming stops.