Finding reliable information on unlocking an SS5 form in Dragon Ball Z Budokai Tenkaichi 3 is tricky, and many so-called "codes" floating around are simply jokes rather than real methods.
If you're hoping to access Super Saiyan 5, your best bet is to check the game's official character roster and unlockable content, since anything beyond what the game actually includes isn't obtainable through legitimate means. Be wary of dubious shortcuts that promise hidden forms.