The online racing simulator
help needed judge mode for SLADI
how do I have to write an "if" statement so that I can automatically fetch all the users in judge status = 1 and open this button for them?

<?php 
CASE "!judge":
IF (
UserIsAdmin( $userName ) == 1 )
THEN
SetCurrentPlayerVar
("judge", "1");
ENDIF
?>
<?php 

IF ( GetPlayerVar(tumes925semut,judge) == 1)
THEN
openButton
( tumes925semut, "1stclipC",.....;
ENDIF
?>
i found
I found working code:

<?php 
$ListOfPlayers
= GetListOfPlayers("U");
FOREACH (
$Var IN $ListOfPlayers )
$UserName = $Var["value"];
IF (
GetPlayerVar($UserName,judge) == 1)
THEN
openButton
( $UserName, "1stclipL",.....;
ENDIF
ENDFOREACH
?>

FGED GREDG RDFGDR GSFDG