Xerxes I have the same problem and have already tried to solve the problem differently but unfortunately it is not possible.
setPlayerData is not recognized as a command in the console, so the command code must have been changed as the only existing option