Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.PlayerSay

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("PlayerSay", "name", function(ply, text, teamChat) end)
View on GitHub|lua/starfall/libs_sh/hook.lua:162
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called when a player sends a chat message

Parameters

NameTypeDescription
plyPlayerPlayer that sent the message
textstringContent of the message
teamChatbooleanTrue if team chat

Returns

TypeDescription
stringNew text. "" to stop from displaying. Nil to keep original.

Examples

No examples available.

Used In

No usages found in the codebase.