How can I get skin id #315
-
I tried to find an inside the weapon.props not found anything |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
What are you referring to by skin ID exactly? Does |
Beta Was this translation helpful? Give feedback.
-
How I can get info from CBaseAttributableItem, where I can find it |
Beta Was this translation helpful? Give feedback.
-
I've just opened a PR to make the paint kit available in Unfortunately there's no other way to get this from a demo file. You'd have to use the Steam APIs to get the paint kit for a given item ID. You can get the item ID with: const itemId = new Long(
weapon.getProp("DT_ScriptCreatedItem", "m_iItemIDLow"),
weapon.getProp("DT_ScriptCreatedItem", "m_iItemIDHigh"),
true
); |
Beta Was this translation helpful? Give feedback.
I've just opened a PR to make the paint kit available in
player_death
events. See #352.Unfortunately there's no other way to get this from a demo file. You'd have to use the Steam APIs to get the paint kit for a given item ID. You can get the item ID with: