The online racing simulator
[Request]Welcome Message
Someone Can tell me how to make a message like that?

You can build screens like that with LFS Lapper.
Use buttons to create a window like style and place text on those buttons.
I recently created this as a welcome screen, although it isn't finished yet.
Attached images
lapper_welcome.png
The message is something I made by amending the standard welcome message in the lfslapper.lpr file.

Look for private button called "welc" along with associated main_welc1 language file.

This is part of the script you need to change.
Edit : I created a new button but i don't know how to close it automatically when i press "I accept" on the welcome message
How can i do it?

---->
You need to attach a sub-routine to the button that then closes the button - this sub-routine will have a line starting closePrivButton, then the name of your button that you want closed.

The default welcome message has 2 sub-routines already set up depending if you ACCEPT or DENY the welcome message, as in;


<?php 
    openPrivButton
"clos",78,120,20,10,10,-1,ISB_DARK,langEngine("%{main_accept}%"),OnConnectClose );
    
openPrivButton"ref",103,120,20,10,10,-1,ISB_DARK,langEngine("%{main_deny}%"),OnConnectCloseKick );
?>

If you click the ACCEPT button, then lapper then goes to the OnConnectClose sub-routine, but if you click the DENY button, then lapper jumps to the OnConnectCloseKick sub-routine.

Either way, each sub-routine closes the buttons that are on the screen.

I can't read what's on your button, but assuming it's to do with accepting the rules on your welcome message, then you need to add the name of your button in the OnConnectClose sub-routine.

For instance, if your button is called "rule", and it is an additional button to the standard message, then you would change the standard line of code from

closePrivButton("welc&pos&clos&ref");

to

closePrivButton("welc&pos&clos&ref&rule");

An alternative way to close buttons, is to change the timing of the buttons from -1, which means never close, to a number that gives you enough time to read the text, such as 8 (which stands for 8 seconds).

On my Welcome screen (the one you show in your first post), I have mine set to work on both time and click. By that, I mean, if you leave the message up long enough, it will self close. However, if you click the OK button, it makes the message close earlier than programmed.
I have :

<?php 
    openPrivButton
"welc",25,50,150,15,12,-1,ISB_DARKlangEngine("%{main_welc1}%"$NickName ) );
    
openPrivButton"pos",25,80,150,10,8,-1,ISB_NONE,langEngine("%{main_welc2}%",$Posabs,$Posqual,$Groupqual  ) );
    
openPrivButton"clos",85,125,30,10,10,-1,ISB_DARK,langEngine("%{main_accept}%"), OnConnectClose );
    
openPrivButton"test",85,50,30,10,10,-1,ISB_DARK,langEngine("%{main_test}%") );
    
http("http://www.frh-team.net/reglapper/getserver2.php" );
EndEvent

Sub OnConnectClose
$KeyFlags,$id );
    
closePrivButton("welc&pos&test&clos");

EndSub


?>


And the button (test) is stuck on my screen.
Look in the log file to see if there's an error in your script.
You can find the log file in the "bin\default\logs" folder.
Named "*-ERR.log"
I've finished my connect screen today.
It is integrated with the !schedule system I also wrote.
There is also a rotating "Did you know" function.
Attached images
connect_screen_ab.png

FGED GREDG RDFGDR GSFDG