GameRules_SetPropString Function

Sets a gamerules property as a string.

int GameRules_SetPropString(const char[] prop, const char[] buffer, bool changeState)

Parameters

const char[] prop

Property to use.

const char[] buffer

String to set.

bool changeState

This parameter is ignored.

Return Value

Number of non-null bytes written.

Errors

Not supported.