Jump to content

Hooks doesnt trigger

Fixed 2.0.177

IIIaKa
IIIaKa

Posted (edited)

Carbon v2.0.177.0

Hello, the hook OnAnimalDungProduced has been present for over a month, but it still does not work, while the hook OnAnimalDungProduce does work.

void OnAnimalDungProduce(RidableHorse2 horse) => PrintWarning($"OnAnimalDungProduce");//This hook is called
void OnAnimalDungProduced(RidableHorse2 horse, Item item) => PrintWarning($"OnAnimalDungProduced");//This hook is not called

//or

void OnAnimalDungProduce() => PrintWarning($"OnAnimalDungProduce");//This hook is called
void OnAnimalDungProduced() => PrintWarning($"OnAnimalDungProduced");//This hook is not called

 

Test.cs

Edited by IIIaKa
  • Administrator
Raul-Sorin Sorban

Posted

Actually, still investigating this. There's something really weird going on. But it's in progress.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.9k
Customers served
Files Sold
156.7k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.