Jump to content
McKay Development

Recommended Posts

Posted

Can I get sticker name by value or float_value

{
    "defindex": 113,
    "value": 1063,
    "float_value": 1.4895802675772805e-042
} 

in GetPlayerItems?

 

I found this:

"1063"
{
    "name"		  "columbus2016_team_fntc"
    "item_name"		  "#StickerKit_columbus2016_team_fntc"
    "description_string"  "#StickerKit_desc_columbus2016_team_fntc"
    "sticker_material"    "columbus2016/fntc"
    "item_rarity"         "rare"
    "tournament_event_id" "9"
    "tournament_team_id"  "6"
}

But in this API has no name and no image of the sticker

Posted

Attribute 113's value contains the ID of the sticker, which in your case is 1063. You got that much right. The name of that sticker is given by item_name, which is a translation token. You can look that up in resource/csgo_english.txt from the game download.

Posted (edited)

Thanks! This file should be updated manually when you add new things? Can we automate this process?

And what is "float_value": 1.4895802675772805e-042? 

Edited by Sirex

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...