Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using GTA; // This is a reference that is needed! do not edit this
- using GTA.Math;
- using GTA.Native; // This is a reference that is needed! do not edit this
- using System; // This is a reference that is needed! do not edit this
- using System.Windows.Forms; // This is a reference that is needed! do not edit this
- namespace DisableControls
- {
- public class DisableControls : Script // declare Modname as a script
- {
- public DisableControls() // main function
- {
- Tick += this.OnTick;
- KeyDown += this.OnKeyDown;
- KeyUp += this.OnKeyUp;
- }
- void OnTick(object sender, EventArgs e) // This is where most of your script goes
- {
- Game.DisableControlThisFrame(2, GTA.Control.ReplayStartStopRecording);
- Game.DisableControlThisFrame(2, GTA.Control.ReplayStartStopRecordingSecondary);
- Game.DisableControlThisFrame(2, GTA.Control.ReplayRecord);
- }
- void OnKeyDown(object sender, KeyEventArgs e)
- {
- }
- void OnKeyUp(object sender, KeyEventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement