If there are OnFalseStart events, lfs must know somehow in some way that the red lights are still on or that the lights have not turned green yet?
How could OnFalseStart events exists otherwise?
Olivier
<?php
globalMsg( langEngine( "^7User: {0} pb: {1}",$user,cmdLFS( "/w pb " . $user)));
?>
<?php
$info = getPlayerInfo( $user );
globalMsg( "". $info); #returns the string "Array"
globalMsg( "". $info["PSCountry"]); #returns nothing
globalMsg( "". $info[0]); #returns nothing
?>
<?php
cmdLFS("/ws ". $track. " " . $car . " pb ". $user);
or
cmdLFS("/ws XFG pb iol(qc)");
or
globalMsg(cmdLFS("/ws ". $track. " " . $car . " pb ". $user));
?>
PSDistance, // online statistics of one racer - distance in metres
PSFuel, // online statistics of one racer - fuel burnt in cl
PSLaps, // online statistics of one racer - laps
PSHostsJoined, // online statistics of one racer - hosts joined
PSWins, // online statistics of one racer - Wins
PSSecond, // online statistics of one racer - Second
PSThird, // online statistics of one racer - third
PSFinished, // online statistics of one racer - finished
PSQuals, // online statistics of one racer - quals
PSPole, // online statistics of one racer - pole
PSDrags, // online statistics of one racer - drags
PSDragWins, // online statistics of one racer - drag wins
RotateIn -> Races remaining before Rotation
HostName -> Current host Name
ShortTrackName -> Track Name in Short format : SO6
LongTrackName -> Track Name in long format : South City Chicane
ShortTime -> Server Time in short format
LongTime -> Server Time in long format
ShortDate -> Date in short format
LongDate -> Date in long format
CurrRotateCar -> Current rotated Car
CurrRotateTrack -> Current rotated Track
CurrLongRotateTrack -> Current rotated Track
NextRotateCar -> Next rotated Car
NextRotateTrack -> Next rotated Track
NextLongRotateTrack -> Next rotated Track
RequiredFlags -> Flag(s) required on this server
<?php
getLapperVar( "nbConnectedPlayers" )
?>
<?php
getLapperVar( "nbConnectedPlayers" )
?>
<?php
GetLapperVar("numConns");
?>
<?php
$btncolor_en = "^7";
$btncolor_fr = "^7";
$btncolor_nl = "^7";
$btncolor_no = "^7";
$user_lang = GetCurrentPlayerVar("IdLang");
IF($user_lang == "en")
THEN
$btncolor_en = "^6";
ELSEIF($user_lang == "fr")
$btncolor_fr = "^6";
ELSEIF($user_lang == "nl")
$btncolor_nl = "^6";
ELSEIF($user_lang == "no")
$btncolor_no = "^6";
ENDIF
openPrivButton( "option_Lang_en",84,75,17,4,4,-1,16,$btncolor_en."English",SetCurrentPlayerVar("IdLang","en"));
?>
<?php
$btncolor_en = "^7";
$btncolor_fr = "^7";
$btncolor_nl = "^7";
$btncolor_no = "^7";
$user_lang = GetCurrentPlayerVar("IdLang");
IF($user_lang == "en")
THEN
$btncolor_en = "^6";
ELSEIF($user_lang == "fr")
$btncolor_fr = "^6";
ELSEIF($user_lang == "nl")
$btncolor_nl = "^6";
ELSEIF($user_lang == "no")
$btncolor_no = "^6";
ENDIF
openPrivButton( "option_Lang_en",84,75,17,4,4,-1,16,$btncolor_en."English",SetCurrentPlayerVar("IdLang","en"));
?>
<?php
openPrivButton("option_Lang_en",84,75,17,4,4,-1,16,$btncolor_en."English",SetLang("en"));
openPrivButton("option_Lang_fr",84,75,17,4,4,-1,16,$btncolor_fr."French",SetLang("fr"));
Sub SetLang($lang)
SetCurrentPlayerVar("IdLang",$lang)
ENDSub
?>
<?php
Sub DoMenu_Options($KeyFlags,$userName)
openPrivButton( "option_lang_bg",83,69,34,16,5,-1,16,"");
openPrivButton( "option_lang_title",84,69,32,5,5,-1,0,"^7Language");
$user_lang = GetCurrentPlayerVar("IdLang");
privMsg("^4Your current language: ".$user_lang);
IF($user_lang == "en")
THEN
privMsg("Language=English");
$btncolor_en = "^6";
ENDIF
IF($user_lang == "fr")
THEN
privMsg("Language=French");
$btncolor_fr = "^6";
ENDIF
IF($user_lang == "nl")
THEN
privMsg("Language=Dutch");
$btncolor_nl = "^6";
ENDIF
IF($user_lang == "no")
THEN
privMsg("Language=Norvegian");
$btncolor_no = "^6";
ENDIF
openPrivButton("option_Lang_en",84,75,16,4,4,-1,32,"^7".$btncolor_en."English",SetLang_en);
openPrivButton("option_Lang_fr",100,75,16,4,4,-1,32,"^7".$btncolor_fr."French",SetLang_fr);
openPrivButton("option_Lang_nl",84,80,16,4,4,-1,32,"^7".$btncolor_nl."Dutch",SetLang_nl);
openPrivButton("option_Lang_no",100,80,16,4,4,-1,32,"^7".$btncolor_no."Norvegian",SetLang_no);
EndSub
Sub SetLang_en($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","en");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_fr($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","fr");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_nl($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","nl");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_no($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","no");
DoMenu_Options($KeyFlags,$userName);
EndSub
?>
<?php
Sub DoMenu_Options($KeyFlags,$userName)
openPrivButton( "option_lang_bg",83,69,34,16,5,-1,16,"");
openPrivButton( "option_lang_title",84,69,32,5,5,-1,0,"^7Language");
$user_lang = GetCurrentPlayerVar("IdLang");
privMsg("^4Your current language: ".$user_lang);
IF($user_lang == "en")
THEN
privMsg("Language=English");
$btncolor_en = "^6";
ENDIF
IF($user_lang == "fr")
THEN
privMsg("Language=French");
$btncolor_fr = "^6";
ENDIF
IF($user_lang == "nl")
THEN
privMsg("Language=Dutch");
$btncolor_nl = "^6";
ENDIF
IF($user_lang == "no")
THEN
privMsg("Language=Norvegian");
$btncolor_no = "^6";
ENDIF
openPrivButton("option_Lang_en",84,75,16,4,4,-1,32,"^7".$btncolor_en."English",SetLang_en);
openPrivButton("option_Lang_fr",100,75,16,4,4,-1,32,"^7".$btncolor_fr."French",SetLang_fr);
openPrivButton("option_Lang_nl",84,80,16,4,4,-1,32,"^7".$btncolor_nl."Dutch",SetLang_nl);
openPrivButton("option_Lang_no",100,80,16,4,4,-1,32,"^7".$btncolor_no."Norvegian",SetLang_no);
EndSub
Sub SetLang_en($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","en");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_fr($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","fr");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_nl($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","nl");
DoMenu_Options($KeyFlags,$userName);
EndSub
Sub SetLang_no($KeyFlags,$userName)
SetCurrentPlayerVar("IdLang","no");
DoMenu_Options($KeyFlags,$userName);
EndSub
?>
<?php
globalRcm( langEngine( "%{main_midnight}%" ) );
?>