Slightly simplified the work of the plugin (
for example, fewer SteamID requests are required) and made the code compatible with SM1.10 and older.
SM1.10:
PHP Code:
//// scoreboard-tweaks 1.0.0.sp
//
// Z:\scoreboard-tweaks 1.0.0.sp(61) : error 017: undefined symbol "MAX_AUTHID_LENGTH"
// Z:\scoreboard-tweaks 1.0.0.sp(61) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
// Z:\scoreboard-tweaks 1.0.0.sp(62) : error 130: cannot coerce functions to values
// Z:\scoreboard-tweaks 1.0.0.sp(62) : error 163: indeterminate array size in "sizeof" expression (symbol "steamId")
// Z:\scoreboard-tweaks 1.0.0.sp(74) : error 130: cannot coerce functions to values
// Z:\scoreboard-tweaks 1.0.0.sp(86) : error 017: undefined symbol "MAX_AUTHID_LENGTH"
// Z:\scoreboard-tweaks 1.0.0.sp(86) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
// Z:\scoreboard-tweaks 1.0.0.sp(87) : error 130: cannot coerce functions to values
// Z:\scoreboard-tweaks 1.0.0.sp(87) : error 163: indeterminate array size in "sizeof" expression (symbol "steamId")
// Z:\scoreboard-tweaks 1.0.0.sp(90) : error 130: cannot coerce functions to values
//
// 10 Errors.
//
// Compilation Time: 0,17 sec
// ----------------------------------------
//// scoreboard-tweaks 1.1.0.sp
//
// Code size: 4864 bytes
// Data size: 3188 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 24436 bytes
//
// Compilation Time: 0,14 sec
// ----------------------------------------