This command only works in multiplayer. This command will revive you if you are knocked down (in the same way that a teammate would).
The syntax for the revivelocalplayer command is as follows:
Find below working examples of the revivelocalplayer command.
This is the only way you can used the revivelocalplayer console command, this will revive you (provided you are knocked down).