I recommend using either a taperjara with your friend to tranq it or use another bird OR use a gallimimus. For solo tame try to stand on a cliff with the Rex below you. It may sound tough but it can be done. Once you have knocked it out build spikes around it with a little gap so only you can get in and out of your spikey pen

More Rex Taming & KO Tips