Is there a easy way to change chat font size? Globally?
Global hook to change chat font size?
Discussion in 'Rust Development' started by Rusty, Aug 15, 2015.
-
Wulf Community Admin
You could hook into OnPlayerChat or OnRunCommand and filter it before all other plugins.
-
I understand OnPlayerChat but why OnRunCommand?
-
OnPlayerChat gets called from the command "chat.say" -
I sort of get it,
Code:function PLUGIN:OnRunCommand(arg) local msg = arg:GetString(0) if (msg ~= nil) and (msg ~= "") then print("DEBUG: " .. msg) end end
-
Wulf Community Admin