Hello,
i tried finding it in the lua files but i had no luck. Is it possible to deploy a message which will appear in the admins chat?
I want to hook certain events like hammering and send a message
f.e. like that:
local ACTIONHAMMER = GLOBAL.ACTIONS.HAMMER.fn
GLOBAL.ACTIONS.HAMMER.fn = function(act)
-- Message to admins that act.doer has hammered act.target.prefab
return ACTIONHAMMER(act)
end
Also, how can i hook if someone ignites something?