The file is COMPLETELY destroyed and is beyond repair. You're missing so many closing brackets.
Here's one example that we can't just figure out.
Code:
}
// What's supposed to be here? I have no idea.
{
if(get_playersnum() >= 4)
My only advise is to start over with a clean file and ask in the request part of this forum for help to modify it for your liking.
__________________