GameRules_GetPropString Function

Gets a gamerules property as a string.

int GameRules_GetPropString(const char[] prop, char[] buffer, int maxlen)

Parameters

const char[] prop

Property to use.

char[] buffer

Destination string buffer.

int maxlen

Maximum length of output string buffer.

Return Value

Number of non-null bytes written.

Errors

Not supported.