the code wont work for me says there is something wrong with
"function AllPlayersInactive: boolean;"