ServerConfigGet Method (String, String, Boolean) |
Gets the configuration value with the specified key.
Namespace:
SampSharp.GameMode.SAMP
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public string Get(
string key,
string defaultValue,
bool trimSpaces = true
)
Parameters
- key
- Type: SystemString
The key. - defaultValue
- Type: SystemString
The default value. - trimSpaces (Optional)
- Type: SystemBoolean
If set to true trim white-space characters.
Return Value
Type:
String
The value.
See Also