doesn't work for me on my CS:S server ;(
If has been set a flag, model will be always accessible to all players...
For example: "flag" "z" => random player without flag can choose a model
Could anyone tell me why ? PLS..
hats.txt
Code:
"Hats"
{
"Hats"
{
"No hat"
{
"model" ""
}
"Seuss Hat"
{
"model" "models/gmod_tower/seusshat.mdl"
"position" "0.0 -1.0 6.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "2"
}
"Top Hat"
{
"model" "models/gmod_tower/tophat.mdl"
"position" "0.0 -1.7 4.5"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "2"
}
"Androssmask"
{
"model" "models/gmod_tower/androssmask.mdl"
"position" "0.0 2.0 0.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "0"
}
"Sombrero"
{
"model" "models/gmod_tower/sombrero.mdl"
"position" "0.0 -1.0 6.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "3"
}
"Cake Hat"
{
"model" "models/cakehat/cakehat.mdl"
"position" "0.0 -1.0 3.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "3"
}
"Headcrab Hat"
{
"model" "models/gmod_tower/headcrabhat.mdl"
"position" "0.0 -3.0 6.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "0"
}
}
"Glasses"
{
"No glasses"
{
"model" ""
}
"3D Glasses"
{
"model" "models/gmod_tower/3dglasses.mdl"
"position" "0.0 0.5 2.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "3"
}
"Aviators"
{
"model" "models/gmod_tower/aviators.mdl"
"position" "0.0 0.5 2.0"
"angles" "0.0 0.0 0.0"
"flag" "a"
"team" "3"
}
}
}