i do like u say. but still not starting
i think is there proplem from 500servers.
see this email
..................
So I think I have to wait until they replay me everying is working Cleary or somthing like that .
<?php
Event OnNewPlayerJoin( $userName ) # Player event
$TFR = ( GetCurrentPlayerVar( "TyreFrontRight" )
IF ($TFR == "TYRE_KNOBBLY" )
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
privRcm( "You have been spectated for using ^1Knobbly ^8tyres");
privRcm( "Please change to ^4Normal ^8or ^4Super ^8tyres" );
ENDIF
EndEvent
?>
<?php
Event OnNewPlayerJoin( $userName ) # Player event
$TFR = ( GetCurrentPlayerVar( "TyreFrontRight" );
IF ($TFR == "TYRE_KNOBBLY" )
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
privRcm( "You have been spectated for using ^1Knobbly ^8tyres");
privRcm( "Please change to ^4Normal ^8or ^4Super ^8tyres" );
ENDIF
EndEvent
?>
<?php
##########################################
#New PLayer joining race or leaving pits)#
##########################################
Event OnNewPlayerJoin( $userName ) # Player event
openPrivButton( "label_lfslogo",147,25,60,5,1,-1,0,langEngine( "%{label_lfslogo}%" ));
openPrivButton( "label_logo",165,12,30,14,1,-1,128,langEngine( "%{label_logo}%" ));
$TFR = ( GetCurrentPlayerVar( "TyreFrontRight" );
$TFL = ( GetCurrentPlayerVar( "TyreFrontLeft" );
$TRR = ( GetCurrentPlayerVar( "TyreRearRight" );
$TRL = ( GetCurrentPlayerVar( "TyreRearLeft" );
IF ($TFR == "TYRE_KNOBBLY" )
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
privRcm( "You have been spectated for using ^1Knobbly ^8tyres");
privRcm( "Please change to ^4Normal ^8or ^4Super ^8tyres" );
IF ($TFL == "TYRE_KNOBBLY" )
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
privRcm( "You have been spectated for using ^1Knobbly ^8tyres");
privRcm( "Please change to ^4Normal ^8or ^4Super ^8tyres" );
IF ($TRR == "TYRE_KNOBBLY" )
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
privRcm( "You have been spectated for using ^1Knobbly ^8tyres");
privRcm( "Please change to ^4Normal ^8or ^4Super ^8tyres" );
IF ($TRL == "TYRE_KNOBBLY" )
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
privRcm( "You have been spectated for using ^1Knobbly ^8tyres");
privRcm( "Please change to ^4Normal ^8or ^4Super ^8tyres" );
ENDIF
EndEvent
?>
<?php
Event OnExitPitLane( $userName ) # Player event
$OTFR = ( GetCurrentPlayerVar( "OldTyreRearRight" );
$TFR = ( GetCurrentPlayerVar( "TyreFrontRight" );
openPrivButton( "otfr",50,25,100,15,5,8,32, "^1Pre IF statement: OLD tyres being used at front are: ",GetCurrentPlayerVar("OldTyreRearRight"));
openPrivButton( "tfr",50,50,100,15,5,8,32, "^1Pre IF statement: NEW tyres being used at front are: ",GetCurrentPlayerVar("TyreRearRight")
IF ($TFR == "TYRE_KNOBBLY" )
THEN
openPrivButton( "otfr",50,75,100,15,5,8,32, "IF statement: OLD tyres being used at front are: " . $OTFR);
openPrivButton( "tfr",50,100,100,15,5,8,32, "IF statement: NEW tyres being used at front are: " . $TFR);
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
openPrivButton( "tyrespec",50,125,100,15,5,8,32, "You have been spectated for using ^1Knobbly ^8tyres");
openPrivButton( "tyrechange",50,150,100,15,5,8,32, "Please change to ^4Normal ^8or ^4Super ^8tyres" );
ENDIF
EndEvent
?>
<?php
Event OnExitPitLane( $userName ) # Player event
$TFR = ( GetCurrentPlayerVar( "TyreFrontRight" );
IF ($TFR == "TYRE_KNOBBLY" )
THEN
openPrivButton( "tyrespec",50,125,100,15,5,8,32, "You have been spectated for using ^1Knobbly ^8tyres");
openPrivButton( "tyrechange",50,150,100,15,5,8,32, "Please change to ^4Normal ^8or ^4Super ^8tyres" );
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
ENDIF
EndEvent
?>
<?php
Event On.........
$TFR = ( GetCurrentPlayerVar( "TyreFrontRight" );
$TFL = ( GetCurrentPlayerVar( "TyreFrontLeft" );
$TRR = ( GetCurrentPlayerVar( "TyreRearRight" );
$TRL = ( GetCurrentPlayerVar( "TyreRearLeft" );
IF (($TFR == "TYRE_KNOBBLY" ) || ($TFL == "TYRE_KNOBBLY" ) || ($TRR == "TYRE_KNOBBLY" ) || ($TRL == "TYRE_KNOBBLY" ))
THEN
openPrivButton( "tyrespec",50,50,100,15,5,8,32, "You have been spectated for using ^1Knobbly ^8tyres");
openPrivButton( "tyrechange",50,70,100,15,5,8,32, "Please change to ^4Normal ^8or ^4Super ^8tyres" );
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
ENDIF
EndEvent
?>
<?php
Event OnExitPitLane( $userName ) # Player event
$OTFR = GetCurrentPlayerVar( "OldTyreFrontRight" );
$OTRR = GetCurrentPlayerVar( "OldTyreRearRight" );
$TFR = GetCurrentPlayerVar( "TyreFrontRight" );
$TRR = GetCurrentPlayerVar( "TyreRearRight" );
IF (($OTRR == "TYRE_KNOBBLY" ) || ($OTFR == "TYRE_KNOBBLY" ) || ($TRR == "TYRE_KNOBBLY" ) || ($TFR == "TYRE_KNOBBLY" ))
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
openPrivButton( "tyrespec",50,35,100,15,5,8,32, "You have been spectated for using ^1Knobbly ^8tyres");
openPrivButton( "tyrechange",50,50,100,15,5,8,32, "Please change to ^4Normal ^8or ^4Super ^8tyres" );
ENDIF
EndEvent
?>
<?php
Event OnNewPlayerJoin( $userName ) # Player event
$OTFR = GetCurrentPlayerVar( "OldTyreFrontRight" );
$OTRR = GetCurrentPlayerVar( "OldTyreRearRight" );
$TFR = GetCurrentPlayerVar( "TyreFrontRight" );
$TRR = GetCurrentPlayerVar( "TyreRearRight" );
IF (($OTRR == "TYRE_KNOBBLY" ) || ($OTFR == "TYRE_KNOBBLY" ) || ($TRR == "TYRE_KNOBBLY" ) || ($TFR == "TYRE_KNOBBLY" ))
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
openPrivButton( "tyrespec",50,35,100,15,5,8,32, "You have been spectated for using ^1Knobbly ^8tyres");
openPrivButton( "tyrechange",50,50,100,15,5,8,32, "Please change to ^4Normal ^8or ^4Super ^8tyres" );
ENDIF
EndEvent
?>
<?php
$distToDo = 10;
Event OnDistDone( $userName ) # Player event
$OTFR = GetCurrentPlayerVar( "OldTyreFrontRight" );
$OTRR = GetCurrentPlayerVar( "OldTyreRearRight" );
$TFR = GetCurrentPlayerVar( "TyreFrontRight" );
$TRR = GetCurrentPlayerVar( "TyreRearRight" );
IF (($OTRR == "TYRE_KNOBBLY" ) || ($OTFR == "TYRE_KNOBBLY" ) || ($TRR == "TYRE_KNOBBLY" ) || ($TFR == "TYRE_KNOBBLY" ))
THEN
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
openPrivButton( "tyrespec",50,35,100,12,10,8,32, "Sorry, but you have been spectated for using ^1Knobbly ^8tyres.%nl%Knobbly tyres are not allowed on this particular layout.");
openPrivButton( "tyrechange",50,55,100,12,5,8,32, "Please change to ^4Normal ^8or ^4Super ^8tyres%at%^4Please change to ^8Normal ^4or ^8Super ^4tyres" );
ENDIF
EndEvent
?>