Garry's Mod Wiki

Revision Difference

Player:Say#512508

<function name="Say" parent="Player" type="classfunc">⤶ <description>⤶ Forces the player to say whatever the first argument is. Works on bots too.⤶ ⤶ <note>This function ignores the default chat message cooldown</note>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="text" type="string">The text to force the player to say.</arg>⤶ <arg name="teamOnly" type="boolean" default="false">Whether to send this message to our own team only.</arg>⤶ </args>⤶ </function>⤶ ⤶