Skip to content

Instantly share code, notes, and snippets.

@udoprog
Created April 8, 2019 02:43
Show Gist options
  • Save udoprog/19c15a4f353d4507a03fc3dffd06b197 to your computer and use it in GitHub Desktop.
Save udoprog/19c15a4f353d4507a03fc3dffd06b197 to your computer and use it in GitHub Desktop.
using System;
using GTA;
namespace ChaosMod
{
public class BlockCutsceneSkips : Script
{
public BlockCutsceneSkips()
{
this.Tick += OnTick;
}
private void OnTick(object sender, EventArgs e)
{
Game.DisableControlThisFrame(0, Control.SkipCutscene);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment