I want to log the player who openend a locked crate. But the OnCrateHack only returns a HackableLockedCrate object so I'm not sure if this is possible. Anyone here that might know the answer?
OnCrateHack show player who openend
the hook
object CanHackCrate(BasePlayer player, HackableLockedCrate crate)is called just before OnCrateHack.capture the player in CanHackCrate and log info in OnCrateHack
Maybe you can use the CanHackCrate hook?
object CanHackCrate(BasePlayer player, HackableLockedCrate crate)