Code:bool CanHackCrate(BasePlayer player, HackableLockedCrate crate) { SendReply(player, "Started hacking"); return true; }I expect returning true will start hacking the crate but it doesn't?Code:bool CanHackCrate(BasePlayer player, HackableLockedCrate crate) { SendReply(player, "Cannot hack"); return false; }
Edit: changing to object and returning null to allow seems to do the job
Solved CanHackCrate hook not working (as expected?)
Discussion in 'Rust Development' started by Slydelix, Apr 10, 2018.