altmp / altv-js-module-v2

alt:V JavaScript v2 module
MIT License
10 stars 9 forks source link

Typo in BodyPart Enum #237

Closed devpanda0 closed 3 months ago

devpanda0 commented 4 months ago
export enum BodyPart {
    PELVIS,
    LEFT_HIP,
    LEFT_LEG,
    LEFT_FOOT,
    RIGHT_HIP,
    RIGHT_LEG,
    RIGHT_FOOT,
    LOWER_TORSO,
    UPPER_TORSO,
    CHEST,
    UNDER_NECK,
    LEFT_SHOULDER,
    LEFT_UPPER_ARM,
    LEFT_ELBROW, <--- LEFT_ELBOW
    LEFT_WRIST,
    RIGHT_SHOULDER,
    RIGHT_UPPER_ARM,
    RIGHT_ELBROW, <--- RIGHT_ELBOW
    RIGHT_WRIST,
    NECK,
    HEAD,

    UNKNOWN = -1
}
xxshady commented 4 months ago

its typo from sdk

xxshady commented 4 months ago

https://github.com/altmp/cpp-sdk/blob/master/events%2FCWeaponDamageEvent.h#L15-L40

devpanda0 commented 4 months ago

just change it xD

devpanda0 commented 4 months ago

in v1 its right

xxshady commented 4 months ago

yes because i fixed it xd https://github.com/altmp/altv-types/commit/98995e109849ae4dc1a96f1e42e370dbe2680d75

devpanda0 commented 4 months ago

ty Von meinem iPhone gesendetAm 04.07.2024 um 17:12 schrieb xshady @.>: yes because i fixed it xd @.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>