SMC_GetErrorString

Синтаксис

native bool:SMC_GetErrorString(SMCError:error, buffer[], buf_max);

Употреба

error
The SMCParseError code.
buffer
A string buffer for the error (contents undefined on failure).
buf_max
The maximum size of the buffer.

Описание

Gets an error string for an SMCError code.

Забележка

SMCError_Okay returns false.

Забележка

SMCError_Custom (which is thrown on SMCParse_HaltFail) returns false.

Връщаща стойност

True on success, false otherwise.