Raised This Month: $209 Target: $400
 52% 

Player skins in store


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ChampMartini
Member
Join Date: Mar 2021
Old 03-10-2021 , 12:48   Player skins in store
Reply With Quote #1

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"
_____________________________________________ ___________________________________
ChampMartini is offline
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Old 03-12-2021 , 11:18   Re: Player skins in store
Reply With Quote #2

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. */ 
__________________
Oylsister is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:35.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode