THX mate, this solved my problem !
<?php
$DriftPB = GetCurrentPlayerVar("PBDrift");
?>
<?php
main_welc3 = "^7Your highest Drift Score (with this vehicle): ^2{0}";
?>
<?php
$DefaultTopCar = "XRG+XRT+LX4+FXO+FZ5";
?>
<?php
openPrivButton( "ref",40,110,120,10,8,-1,ISB_DARK,langEngine("%{main_welc3}%",$DriftPB ));
?>
<?php
RegisterZoneAction( "NoEntryArea", "AU1" , -100, 100 , 5 , SR_PitDriver );
?>
<?php
Sub SR_PitDriver( $userName ) # Player event
privMsg( "You have been pitted for entering a restricted area.";
cmdLFS("/pitlane " . GetCurrentPlayerVar("UserName") );
EndSub
?>
<?php
openGlobalButton ("test",60,95,80,10,5,6,16,"^7Track will be changed in (%cpt%) second(s)");
DelayedCommand( 5, change_track_2 );
?>
CASE "!clear":
IF ( UserIsAdmin( $userName ) == 1 )
THEN
cmdLFS( "/axclear" );
ELSE
privMsg("You don't have enough access to execute this command!");
ENDIF
BREAK;
UserGroupFromFile( "eventusers", "./eventusers.txt" );
IF( UserInGroup( "eventusers",$userName) OR ( UserIsAdmin( $userName ) == 1 ) )
UserGroupFromFile( "eventusers", "./eventusers.txt" );
IF ( UserInGroup( "eventusers",$userName) == 1 || UserIsAdmin( $userName ) == 1 )
case "numberplate":
val.typVal = GLScript.typVal.str;
val.sval = utils.quote(currInfoPlayer.Plate);
SendMsg("(Debug) Read NumberPlate");
break;
CASE "!pl":
privMsg( "^7Plate: " .GetPlayerVar( $userName, "NumberPlate" )); BREAK;
<?php
void managePacket(InSim.Decoder.NPL newPlayer)
{
...
currInfoPlayer.OnTrack = true;
currInfoPlayer.Plate = newPlayer.Plate;
...
?>
CASE "!pl":
privMsg( "^7Plate: " . GetCurrentPlayerVar( "NumberPlate" ));
BREAK;