Skip to content

[BUG]: m_iFOV resets to default when switching weapons #376

@Serpentraz

Description

@Serpentraz

👉👈 Contact Details (optional)

No response

🤔 What happened?

set_member(iPlayer, m_iFOV, 120);

I use this code when the player spawns to set the field of view, but when I switch to another weapon, the default field of view (90) is applied again.

⚠️ Meta-information

Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.14.0.857-dev
Build date: 19:52:21 Mar 27 2025 (4002)

Metamod-r v1.3.0.149, API (5:13)
Metamod-r build: 11:31:17 Apr 23 2024

ReGameDLL version: 5.28.0.756-dev
Build date: 19:19:31 Mar 27 2025

AMX Mod X 1.9.0.5271

📄 Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions