View Single Post
08/14/20, 04:07 PM   #2
Knurps
Join Date: Oct 2019
Posts: 3
Code:
function foo:DebugGroupJoinedEvent(event, name, displayName, isPlayerLocal)
is short for
Code:
function foo.DebugGroupJoinedEvent(self, event, name, displayName, isPlayerLocal)
so now the event code will be stored in the variable self,
the name will be stored in the variable event,
the display name will be stored in the variable name etc.
That's also why your debug output prints "event: Exoy^Mx".

you want to use
Code:
function foo.DebugGroupJoinedEvent(event, name, displayName, isPlayerLocal)
  Reply With Quote