Set the View / Camera to another place

I made a building menu
with

ply:SetViewEntity(ent)

so i attached the setviewentity to a camera

it work for me but not for other players on the server

any ideas? Or other functions that work better?

Try taking a look at http://wiki.garrysmod.com/page/GM/CalcView