What's new

Welcome to HvH Forum!

SignUp Now! Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, And More!


SignUp Now!

Source Code GetStickerKitDefinition

TorDB.xyz Owner & Developer
User ID
79083
Messages
6
Reactions
6
Level
1
I take absolutely no credit for this.

Code:
auto& stickerKits(void) const {

    return * reinterpret_cast<UtlMap<int, StickerKit * >*>(std::uintptr_t(this) + 0x318); //m_mapStickerKits

}



StickerKit* GetStickerKitDefinition(int iStickerKitID)

{

    std::optional<StickerKit*> sticker_in_map = stickerKits().FindByKey(iStickerKitID);

    if (sticker_in_map.has_value())

        return sticker_in_map.value();



    return NULL;

}
 
Last edited by a moderator:

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top