View Single Post
Oylsister
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