You become a warden when you complete time in jail. However, you also become a warden without completing jail time with the hacked game version. In the hacked version, start playing and then go to the menu option. After this, go to an editor, edit > profile > role, and then choose the warden option.