Fix resource loading, add player died notification

This commit is contained in:
Sardelka
2022-07-21 08:41:05 +08:00
parent 2ba3e33d39
commit ecfc77e57a
7 changed files with 20 additions and 6 deletions

View File

@ -12,6 +12,7 @@ namespace RageCoop.Core.Scripting
{
static MD5 Hasher = MD5.Create();
static Dictionary<int,string> Hashed=new Dictionary<int,string>();
internal static readonly int OnPlayerDied = Hash("RageCoop.OnPlayerDied");
internal static readonly int SetWeather = Hash("RageCoop.SetWeather");
internal static readonly int OnPedDeleted = Hash("RageCoop.OnPedDeleted");
internal static readonly int OnVehicleDeleted = Hash("RageCoop.OnVehicleDeleted");