MrCoala Posted October 30, 2016 Share Posted October 30, 2016 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? Link to comment https://forums.kleientertainment.com/forums/topic/71279-push-chat-message-to-admins/ Share on other sites More sharing options...
Serpens Posted October 30, 2016 Share Posted October 30, 2016 aren't there already mods, that detect those things and notifies players? You could look how it is done in those mods Link to comment https://forums.kleientertainment.com/forums/topic/71279-push-chat-message-to-admins/#findComment-831312 Share on other sites More sharing options...
MrCoala Posted October 31, 2016 Author Share Posted October 31, 2016 Unfortunately i couldnt find a way to push a message into a specific users chat. I could use components chatter but it will only display it over the head of the user. I looked through other addons and through the source code again and couldnt find anything Link to comment https://forums.kleientertainment.com/forums/topic/71279-push-chat-message-to-admins/#findComment-831530 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now