Plugin updated.
Code:
Fixed a bug when planting status is not removed on GameCommencing event or NewRound
Fixed a bug with teleport function where on small bombsite it fails.
Fixed a bug with teleport function where, on some maps it teleport you above ground and you get fall damage
Fixed bugs with bombsite detection.
Added detection by infodecal entities which never fail. If no infodecals, it uses the standard method.
Added teleportation restrictions in freezetime and after bomb is planted(by cvar)
Fixed a bug when teleport function would transfer you to wrong bomb site.
Code cleaned and improved.
I finally got the time and motivation to finish what I started. Infodecal detection was added and now plugin guess right on all maps that I tested(mostly default maps). Also everything was fixed so this should be the final version.
Menu is now restricted when infodecal method is available.
__________________