View.angles = Vector(0, 90, 0) - Sets the angle which the camera faces. View.origin = pos+(Vector(0, -2000, 75)) - Sets the Position of the camera relative to the player. If game.GetMap() ~= '2d_map' then return end - Replace 2d_map with your map's name to run the lua on your map.įunction M圜alcView(ply, pos, angles, fov, znear, zfar) - Controls the 2d camera.