Skip to content

Commit

Permalink
stufffff
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluscream committed Jul 28, 2016
1 parent ebcee11 commit abda0e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
8 changes: 0 additions & 8 deletions Client/GTACoOp.XML
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>GTACoOp</name>
</assembly>
<members>
</members>
</doc>
11 changes: 10 additions & 1 deletion Client/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1024,8 +1024,17 @@ public void OnKeyDown(object sender, KeyEventArgs e)
}
else
{
//Game.DisableControl(1, Control )
//Game.DisableAllControlsThisFrame(2);
foreach (GTA.Control control in Enum.GetValues(typeof(GTA.Control)))
{
Game.DisableControl(2, control);
}
var message = Game.GetUserInput(255);
foreach (GTA.Control control in Enum.GetValues(typeof(GTA.Control)))
{
Game.EnableControl(2, control);
}
//Game.EnableAllControlsThisFrame(2);
if (!string.IsNullOrEmpty(message))
{
var obj = new ChatData()
Expand Down

0 comments on commit abda0e7

Please sign in to comment.