Closed killerswin2 closed 2 months ago
As this is executed in UI it feels to me like these should be local events. If you want to log on the server you could handle them and forward to server for logging.
yeah that's right, they should be local events
When merged this pull request will: Add a server event that mods and mission makers can listen to. This was done in the case of wanting to log what code was being executed on objects, players, groups... etc. In our case for Antistasi, we want to be able to look at our log file to see if someone is executing code through Zen.
objectExecCode event: params: _code - string of code to execute _mode - code execution mode _entity - object entity that refers to _this
groupExecCode event: params: _code - string of code to execute _mode - code execution mode _entity - group entity that refers to _this
guiExecCode _code - string of code to execute _mode - code execution mode _args - arguments passed to the code