wbykos Posted June 23, 2015 Share Posted June 23, 2015 By now they disappear after 2 sec, i need increase this time. Shall i add some parameter?I'm tried components.talker:Say(msg,time) but its not working if im execute it from server side. Link to comment Share on other sites More sharing options...
Maris Posted June 23, 2015 Share Posted June 23, 2015 You can patch client "Say" function on client side. Link to comment Share on other sites More sharing options...
wbykos Posted June 23, 2015 Author Share Posted June 23, 2015 You can patch client "Say" function on client side. Can i do this from Server side? Link to comment Share on other sites More sharing options...
Maris Posted June 23, 2015 Share Posted June 23, 2015 (edited) Can i do this from Server side?Sure.Change modinfo.lua:all_clients_require_mod = trueAnd in modmain.lua use somthing like that: if GLOBAL.TheNet:GetIsServer() then....else.... Synchronization will work only after publishing the mod in Steam Workshop. Edited June 23, 2015 by Maris Link to comment 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