RAGECOOP-V/Client/WorldThread.cs
2021-07-09 00:20:09 +02:00

27 lines
485 B
C#

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
}
}
}