So I have this code in my plugin, and there are no errors, but when I loot stuff on the ground, none of them fire.
I'm pretty sure if it's ground loot the first one (with a 3 in the Puts) should be fired, correct? It doesn't seem to be working :/
Code:void OnPlayerLoot(PlayerLoot lootInventory, Item targetItem) { Puts("OnPlayerLoot works!3"); } void OnPlayerLoot(PlayerLoot lootInventory, BasePlayer targetPlayer) { Puts("OnPlayerLoot works!2"); } void OnPlayerLoot(PlayerLoot lootInventory, BaseEntity targetEntity) { Puts("OnPlayerLoot works!1"); }
OnPlayerLoot not working?
Discussion in 'Rust Development' started by AnExiledGod, Jun 26, 2015.
