I think I saw this in an episode of Yu-Gi-Oh way back in the day but it was only for 2 people. I think it was this nigga Yugi & Joey dueling 2 niggas at the same damn time & one of them niggas was supposed to be lying or something. You were supposed to ask something about a village or some shit. Too bad it was like 10 years ago so I barely remember how it went.
It was the same as the Knight & Knaves shit. One man always lies, the other always doesn't. One route didn't lead to the village and the other didn't. You can only ask one question, and it can only be to one of the guards.
In the end, the question that was supposed to be asked was "Will he tell me I'm going to the village through his path?" and whoever responded no would be the liar.