Initial commit

This commit is contained in:
EntenKoeniq
2021-07-07 13:36:25 +02:00
commit c332b89bf7
39 changed files with 3743 additions and 0 deletions

26
Client/WorldThread.cs Normal file
View File

@ -0,0 +1,26 @@
using System;
using GTA;
using GTA.Native;
namespace CoopClient
{
public class WorldThread : Script
{
public WorldThread()
{
Tick += OnTick;
Interval = 1000 / 60;
}
public static void OnTick(object sender, EventArgs e)
{
if (Game.IsLoading)
{
return;
}
Function.Call((Hash)0xB96B00E976BE977F, 0.0f); // _SET_WAVES_INTENSITY
}
}
}