public static void setplayerimg(int x)
	{
		if(x == 0)selectedimg = player.Pistolimg;
		if(x == 1)selectedimg = player.SMGimg;
		if(x == 2)selectedimg = player.Assault_rifleimg;
		if(x == 3)selectedimg = player.Machine_gunimg;
		if(x == 4)selectedimg = player.Bolt_action_rifleimg;
		if(x == 5)selectedimg = player.Semi_Auto_Sniperimg;		
	}