private static void Functions_SelectPed(Cilent.GameProcess sender, Ped ped) { if (new Random().Next(9, 89) == 10 || forceEvent) { forceEvent = false; EventController.StartRandomEvent(ped); } }
private static void Functions_OnTick(Cilent.GameProcess sender) { Process(); }