AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Store (https://forums.alliedmods.net/forumdisplay.php?f=157)
-   -   Player skins in store (https://forums.alliedmods.net/showthread.php?t=331210)

ChampMartini 03-10-2021 12:48

Player skins in store
 
So why is it when i have this (see below) in my store txt ct skins works
_____________________________________________ ___________________________________
"Player Skins"
{
"Counter-Terrorists"
{
"Spiderman2"
{
"model" "models/player/custom_player/kuristaja/spiderman_classic/spiderman.mdl"
"arms" "models/player/custom_player/kuristaja/spiderman_classic/spiderman_arms.mdl"
"team" "3"
"price" "10000"
"type" "playerskin"
}
}
}
_____________________________________________ ___________________________________
But if i got (see below) ct or t skins dosent work either theres no skin or skins just blacked out?

_____________________________________________ ___________________________________
"Player Skins"

{
"Terrorists"
{
"Venom"
{
"model"models/player/custom_player/kuristaja/spiderman_cl/venom.mdl"
"team" "3"
"price" "10000"
"type" "playerskin"
}
}

"Counter-Terrorists"
{
"Spiderman2"
{
"model" "models/player/custom_player/kuristaja/spiderman_classic/spiderman.mdl"
"arms" "models/player/custom_player/kuristaja/spiderman_classic/spiderman_arms.mdl"
"team" "3"
"price" "10000"
"type" "playerskin"
_____________________________________________ ___________________________________

Oylsister 03-12-2021 11:18

Re: Player skins in store
 
Team number for terrorist is 2
so just set "team" for terrorist to "2"

Like this:
Code:

"Player Skins"
{
        "Terrorists"
        {
                "Venom"
                {
                        "model"        "models/player/custom_player/kuristaja/spiderman_cl/venom.mdl"
                        "team"        "2" // T Team = 2, CT Team = 3
                        "price" "10000"
                        "type"        "playerskin"
                }
        }
}

PHP Code:

#define CS_TEAM_NONE        0   /**< No team yet. */
#define CS_TEAM_SPECTATOR   1   /**< Spectators. */
#define CS_TEAM_T           2   /**< Terrorists. */
#define CS_TEAM_CT          3   /**< Counter-Terrorists. */ 


Golbanux 08-20-2021 10:24

Re: Player skins in store
 
Quote:

Originally Posted by ChampMartini (Post 2740010)
So why is it when i have this (see below) in my store txt ct skins works
_____________________________________________ ___________________________________
"Player Skins"
{
"Counter-Terrorists"
{
"Spiderman2"
{
"model" "models/player/custom_player/kuristaja/spiderman_classic/spiderman.mdl"
"arms" "models/player/custom_player/kuristaja/spiderman_classic/spiderman_arms.mdl"
"team" "3"
"price" "10000"
"type" "playerskin"
}
}
}
_____________________________________________ ___________________________________
But if i got (see below) ct or t skins dosent work either theres no skin or skins just blacked out?

_____________________________________________ ___________________________________
"Player Skins"

{
"Terrorists"
{
"Venom"
{
"model"models/player/custom_player/kuristaja/spiderman_cl/venom.mdl"
"team" "3"
"price" "10000"
"type" "playerskin"
}
}

"Counter-Terrorists"
{
"Spiderman2"
{
"model" "models/player/custom_player/kuristaja/spiderman_classic/spiderman.mdl"
"arms" "models/player/custom_player/kuristaja/spiderman_classic/spiderman_arms.mdl"
"team" "3"
"price" "10000"
"type" "playerskin"
_____________________________________________ ___________________________________

They don't appear in the menu? Or what?

ericnovel 05-18-2022 15:28

Re: Player skins in store
 
I never bought skins! I could be cheated!


All times are GMT -4. The time now is 19:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.