Wizxrd Posted July 5, 2024 Posted July 5, 2024 (edited) In all cases of multiplayer, hosting locally or through the dedicated server, onPlayerTrySendChat only returns true for the "all" parameter no matter if the player sends a chat message in "Allies" or "All". it does not work when in an aircraft or at least in game master (i have not tried other commander positions) Code, dcs.log and video demonstration included from a dedicated server test. local server = {} function server.onPlayerTrySendChat(playerId, message, all) if all then log.write("CRCServerHook.lua", log.ERROR, "message sent to all") else log.write("CRCServerHook.lua", log.ERROR, "message sent to allies") end end DCS.setUserCallbacks(server) dcs.log 2024-07-04 21-25-40.mp4 Edited July 5, 2024 by Wizxrd 1
Recommended Posts