-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
https://github.com/MechanicalMind/murder/blob/master/gamemode/sv_player.lua#L473
In the above file, in your PlayerSay override, you call the PlayerCanSeePlayersChat hook and return a boolean.
- PlayerCanSeePlayersChat is called after PlayerSay because the PlayerSay hook can modify a player message, the string is then passed to PlayerCanSeePlayersChat. To test this behavior I invite you to test the following code server-side in sandbox:
hook.Add("PlayerSay","test",function(...)
return "test"
end)
hook.Add("PlayerCanSeePlayersChat","test",print)Those behaviors are issues for addon makers because they're unexpected behaviors since they do not follow the base gamemode function signatures.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
