Fixes and improvements for server fps limit
Better script hook
Added compiler checks(is C++11 supported, correct gcc version)
Cleaned up some code