Hello, for some odd reason the CitizenFX.Core does not provide any references for Event Handling on client side like said on wiki. Can someone enlighten me on the issue? Code below comes back saying EventHandlers does not exist.
using System.Threading.Tasks;
using CitizenFX.Core;
using CitizenFX.Core.Native;
using CitizenFX.Core.UI;
namespace ZombiesClient
{
public class ZombiesClient
{
public ZombiesClient()
{
EventHandlers.Add("chatMessage", new Action<string>(OnMessage));
}
}
}