Support for CTFPlayer::GetLoadoutItem and CTFPlayerInventory::GetItemInLoadout #6
Labels
enhancement
New feature or request
not open season
Further discussion is needed; don't write code for this yet
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.
The text was updated successfully, but these errors were encountered: