it's a misunderstanding. i want to make a menu from where u can disable/enable an entity. in this case, is a christmas hat. this christmas hat is assigned for both teams. like
PHP Code:
new const g_szHatModel[CsTeams][] =
{
"",
"models/t_santa.mdl",
"models/ct_santa.mdl",
""
}
and i want to put them like this
PHP Code:
new CsTeams:iTeam = cs_get_user_team(id)
entity_set_model(iEntity, g_szHatModel[iTeams])
i already make them appear on player head, but i can t make them dissapear and if i'm at ct and i press 1 when i'm in above menu and then change team and do same thing, the entitys overlapping.