How can I get skin id #315
Answered
by
saul
yarikdevcom
asked this question in
Questions
-
I tried to find an inside the weapon.props not found anything |
Beta Was this translation helpful? Give feedback.
Answered by
saul
Feb 27, 2022
Replies: 3 comments 1 reply
-
What are you referring to by skin ID exactly? Does |
Beta Was this translation helpful? Give feedback.
1 reply
-
How I can get info from CBaseAttributableItem, where I can find it |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
0 replies
Answer selected by
saul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: