fixed code in close event not fully working, fixed wrong command syntax
added playrerespawn event