I want the gun follow the camera when the character move, I have tried this but that not work I don't see my gun... I have tried to set the flags visible but same thing.

Code:
ENTITY* gun =
{
type = "mygun.mdl";
layer = 10;
view = camera;
x = 10;
y = -10;
z = -10;
flags = VISIBLE;
}