Skip to content

GetGameplayCamRelativePitch client native not working as expected #2228

Closed as not planned
@Mathu-lmn

Description

@Mathu-lmn
  • Client (production/canary) and FXServer version
    Beta client, 6683 artifacts (windows)

  • What you expected to happen
    When setting the gameplay cam relative pitch to 0.0, using the associated getter would return 0.0 if I'm not moving the camera

  • What actually happens
    There seems to be an offset depending on the ped world coords

  • Category of bug (eg. client, server, weapons, peds, native)
    Camera natives / client side

  • Reproducible steps, preferably with example script(s)

-- can be done using basic runcode
SetGameplayCamRelativePitch(0.0, 1.0)
print(GetGameplayCamRelativePitch()) -- this will return a negative value

Video

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