Agreed. Pretty cool plugin.
A couple more notes:
1. cvar for sm_buildingov_max_sentry doesn't seem to work. If I set the limit to be '2', players can still build 3. If I set to 4, players can only build 3, etc.
2. Build and Destroy menu has a nasty habit of disappearing a split second after you select the tool, much faster than the player can select a menu option to build or destroy a building.
Plugin is working but getting errors in error log:
PHP Code:
L 07/08/2021 - 11:00:55: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/08/2021 - 11:00:55: [SM] Blaming: buildingoverhaul.smx
L 07/08/2021 - 11:00:55: [SM] Call stack trace:
L 07/08/2021 - 11:00:55: [SM] [0] ArrayList.Length.get
L 07/08/2021 - 11:00:55: [SM] [1] Line 771, buildingoverhaul.sp::GetNumObjects
L 07/08/2021 - 11:00:55: [SM] [2] Line 687, buildingoverhaul.sp::CTFPlayer_BuildObservableEntityList
L 07/08/2021 - 10:55:04: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/08/2021 - 10:55:04: [SM] Blaming: buildingoverhaul.smx
L 07/08/2021 - 10:55:04: [SM] Call stack trace:
L 07/08/2021 - 10:55:04: [SM] [0] ArrayList.FindValue
L 07/08/2021 - 10:55:04: [SM] [1] Line 669, buildingoverhaul.sp::CTFPlayer_RemoveObject
L 07/08/2021 - 10:55:04: [SM] [3] AcceptEntityInput
L 07/08/2021 - 10:55:04: [SM] [4] Line 146, buildingspawner.sp::OnClientDisconnect