Add BRUISER3, BRUTUS3, MONSTER5 weapon sync (closes #26)
This commit is contained in:
@ -110,6 +110,20 @@ namespace RageCoop.Client
|
||||
private bool _lastDead;
|
||||
private void OnTick(object sender, EventArgs e)
|
||||
{
|
||||
/*
|
||||
unsafe
|
||||
{
|
||||
var stationName = Function.Call<string>(Hash.GET_RADIO_STATION_NAME, Game.RadioStation);
|
||||
|
||||
//_GET_CURRENT_RADIO_TRACK_NAME
|
||||
var currentTrack = Function.Call<int>((Hash)0x34D66BC058019CE0, stationName);
|
||||
Function.Call(Hash.SET_RADIO_TRACK, "RADIO_03_HIPHOP_NEW", "ARM1_RADIO_STARTS");
|
||||
return currentTrack;
|
||||
|
||||
var h1 = Function.Call<int>(Hash._GET_CURRENT_RADIO_STATION_HASH);
|
||||
return $"{h1},{h2},{s},{s1}";
|
||||
}
|
||||
*/
|
||||
P= Game.Player.Character;
|
||||
PlayerPosition=P.ReadPosition();
|
||||
FPS=Game.FPS;
|
||||
@ -190,18 +204,8 @@ namespace RageCoop.Client
|
||||
_lastDead=P.IsDead;
|
||||
Ticked++;
|
||||
}
|
||||
float p1;
|
||||
float p2;
|
||||
private void OnKeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode==Keys.Right)
|
||||
{
|
||||
p1+=0.05f;
|
||||
}
|
||||
if (e.KeyCode==Keys.Up)
|
||||
{
|
||||
p2+=0.05f;
|
||||
}
|
||||
if (MainChat.Focused)
|
||||
{
|
||||
MainChat.OnKeyDown(e.KeyCode);
|
||||
|
Reference in New Issue
Block a user