nuclearsilo583 / zephyrus-store-preview-new-syntax

My rewritten zephyrus store
62 stars 40 forks source link

Problem with "steam" parameter selling exclusive itens #109

Closed exd02 closed 2 years ago

exd02 commented 2 years ago
"Shrek (Comum)"
{
    "model"     "models\player\custom_player\kuristaja\shrek\shrek.mdl"
    "arms"      "models\player\custom_player\kuristaja\shrek\shrek_arms.mdl"
    "unique_id" "uid_model_shrek"
    "team"      "3"
    "preview"   "1"
    "price"     "10"
    "type"      "playerskin"
    "skin"      "0"
    "body"      "25"

    // "steam"  "STEAM_0:0:510551677"
}

As you can see in the screenshot bellow, I can buy the item. image

After uncommenting the "steam" parameter I can't buy the item anymore

"Shrek (Comum)"
{
    "model"     "models\player\custom_player\kuristaja\shrek\shrek.mdl"
    "arms"      "models\player\custom_player\kuristaja\shrek\shrek_arms.mdl"
    "unique_id" "uid_model_shrek"
    "team"      "3"
    "preview"   "1"
    "price"     "10"
    "type"      "playerskin"
    "skin"      "0"
    "body"      "25"

    "steam"     "STEAM_0:0:510551677" // that's my steam id - https://steamid.uk/profile/76561198981369082
}

image

exd02 commented 2 years ago

Am I doing something wrong or what?

originalaidn commented 2 years ago

Hi, try with this steam id: STEAM_1:0:510551677

nuclearsilo583 commented 2 years ago

There're 2 type of steam STEAM_1 and STEAM_0. If you get steamid from any get steamid website. Try to change that value between both cases.

exd02 commented 2 years ago

Thanks! Worked with the STEAM_1:0:510551677