Exemple #1
0
        public void Enter()
        {
            var playerPed      = Game.Player.Character;
            var cameraPosition = NativeUtility.GetEntityPosition(playerPed);
            var cameraRotation = NativeUtility.GetEntityRotation(playerPed);

            _camera          = World.CreateCamera(cameraPosition, cameraRotation, 75.0f);
            _camera.IsActive = true;
            NativeUtility.EnterScriptedCamera();
        }