Skip to content

Support for CTFPlayer::GetLoadoutItem and CTFPlayerInventory::GetItemInLoadout #6

@doclic

Description

@doclic

CTFPlayerInventory::GetItemInLoadout gets the player's equipped item in the specified class's specified loadout slot.
CTFPlayer::GetLoadoutItem calls CTFPlayerInventory::GetItemInLoadout but also checks to see if the item is banned in the competitive whitelist, in which case, the base/stock item is returned.
I think natives to use those 2 functions would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnot open seasonFurther discussion is needed; don't write code for this yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions