-
Notifications
You must be signed in to change notification settings - Fork 4
SayParameters
GeckoN edited this page Jan 26, 2017
·
5 revisions
The SayParameters class contains a player's text data when they say something in game chat. It can be used to interpret the text as though it were a command, and its visibility can be controlled.
Type: Reference type.
| Variable | Description |
|---|---|
| bool ShouldHide | Controls whether this text will be hidden or not. This is implemented as a [property accessor and mutator](http://www.angelcode.com/angelscript/sdk/docs/manual/doc_script_class_prop.html). Default false. |
| Function | Description |
|---|---|
| CBasePlayer@ GetPlayer() const | Gets the player that is saying something. |
| ClientSayType GetSayType() const | Gets the say type of this text. |
| const string& GetCommand() const | Gets the entire command string. |
| const [CCommand](/baso88/SC_AngelScript/wiki/CCommand)@ GetArguments() const | Gets the arguments in this command. |
