GetCurrentMap Function

Returns the current map name.

int GetCurrentMap(char[] buffer, int maxlength)

Parameters

char[] buffer

Buffer to store map name.

int maxlength

Maximum length of buffer.

Return Value

Number of bytes written (UTF-8 safe).