The online racing simulator
Searching in All forums
(274 results)
Popughini
S3 licensed
Quote from PlSTOL :thanks, so he should upload the skin he wants to use on his LFS account, and the skin would be "forever" until he decides to remove it?

Also must the three of us have to be logged in here in order it works or it doesn't matter?

The skins will always be until you decide to delete them and they will not be seen, nor will they be able to use the players ...
Popughini
S3 licensed
Do you make deliveries to Argentina?

I would like to buy some things
Popughini
S3 licensed
I have the following error

New guest timed out (1)
Last edited by Popughini, .
Popughini
S3 licensed
What struck me was that Dodge Challenger ^_^

It's a good start the gaming trailer LOL
Popughini
S3 licensed
And a table of the highest speeds, you can do?
Popughini
S3 licensed
Thanks I worked perfect!
Popughini
S3 licensed
Quote from Yisc[NL] :No, that isn't possible, because Lapper doesn't have a GetTopList for Drift function (yet).
The request you made, has been asked in the past as well.

Question: https://www.lfs.net/forum/post/1903097#post1903097

Answer: https://www.lfs.net/forum/post/1903170#post1903170

How bad Frown I needed a top table like the PB table
Popughini
S3 licensed
Quote from Yisc[NL] :The error means that an invalid number of arguments is send to function 'semaforo3' or that an invalid number of arguments is tried to receive in that function.
If you can't find that error, which is no problem, then it's best to show the whole script, so others might find the problem.

The code is the one published above
Popughini
S3 licensed
It does not work for me, the lights are still red :s

Thank you very much for answering all my doubts and requests Bass-Driver!



Logs:

<?php 
7
/29/2017 12:23:55 PM -> Syntax error in cfg fileNumber of function argument not matche at line #56 in function 'semaforo3' script aborted
?>

Popughini
S3 licensed
Could you make me a code to change layout in X time please? To guide me as it does ...

Thank you very much for answering all my doubts and requests Yisc!
[Solved] HostDelayedCommand() does not work
Popughini
S3 licensed
I'm using the starlight and the HostDelayedCommand does not work for me to change the color of the semaphore, any help?
Thanks for answering!

Code:

<?php 
Event OnLapperStart
()
    
RegisterZoneActionSEMAFOROS1AU1 22 , -830 semaforo1,"" );
EndEvent
?>



<?php 
Sub semaforo1
$userName,$ZoneID)
    
startlightcontrol(5,149,22,1);
    
HostDelayedCommand5semaforo3 );
EndSub

Sub semaforo3
$userName,$ZoneID)
    
startlightcontrol(5,149,22,8);
EndSub
?>


Last edited by Bass-Driver, .
Popughini
S3 licensed
Good layout! thanks
Popughini
S3 licensed
Hi Yisc, could you make a drift points table please?
Something similar to the PB table you have done
[Solved] closeButtonRegex () doesnt work
Popughini
S3 licensed
The closeButtonRegex function does not work anymore?

Since in the driftmeter I get the following error

<?php 
7
/29/2017 1:41:26 AM -> Syntax error in cfg file ".\default\.\Scripts\.\Sistema_de_drift.lpr" at line #247
    
';' needed
    
Function 'ondriftscore.\default\.\scripts\.\sistema_de_drift.lpr-51' script aborted
?>


And the line is as follows


<?php 
closeButtonRegex 
(GetCurrentPlayerVar("UserName"), "driftmessage_*");
?>

Last edited by Bass-Driver, .
Popughini
S3 licensed
I have seen and created things with the "Schedule" but I was wondering if it would be possible to change the layout, not the track

Thanks for replying Yisc!
[REQUEST]Layout script
Popughini
S3 licensed
Good night / day, I come to publish since I need if someone could make me a script so that LFSLapper change the layout of the server every X time and also I would like to know if it is possible to have LFSLapper change the layout of the server every X time


From now I thank all the help they have given me and they still continue to give me!
Popughini
S3 licensed
I fully agree that the programming area is only for users who have paid a license and not for users who enjoy the game without having contributed to the developers, since they do their best so that we can have fun in the game and are Constantly working to improve the simulator
Popughini
S3 licensed
What are the specifications of the pc?
Popughini
S3 licensed
web admin password?
Popughini
S3 licensed
No, I always check when I put it on ;

Thanks for your answers, I'll try the Bass-Driver code again!
Popughini
S3 licensed
I can not configure it, could you explain a little better please?
Popughini
S3 licensed
Quote from Bass-Driver :Post your code!!! , we cant help you with this.

Use the code you gave me
Popughini
S3 licensed
Quote from Bass-Driver :Few examples with explanation:

Create a button:
openPrivButton( "lang_en",30,30,4,4,5,-1,32, "^3EN" ,SetLanguage);

When the player click on the button it calls a sub named 'SetLanguage'.


<?php 
Sub SetLanguage
$KeyFlags,$ButtonID  )
   
#Cut the first 5 chars of the buttonID , result = 'en'
   
$language trimsubStr$ButtonID,) );

   
#When the value/string of $language is equal to 'en'
   
IF($language == "en")THEN
      SetCurrentPlayerVar
("IdLang","en"); #Set player language to English
   
ENDIF
EndSub
?>


Create a button for the LFSLapperlanguage_engine
openPrivButton( "example",75,111,50,10,5,-1,ISB_DARK, langEngine("%{example}%"));

To define "example" in english.

Lang "EN"
example = "This text is an exampletext";
EndLang


7/25/2017 4:31:58 AM -> Syntax error in cfg file ".\default\SISTEMAS.lpr" at line #193
';' needed
Function 'setlanguage' script aborted
Popughini
S3 licensed
Quote from Yisc[NL] :Although the error suggests that a semicolon is missing, which can be the real problem in some cases, that same error is also given when an empty value is inserted, which causes "" get together and is read as a closure of a piece of code.
Add this to your code and see what is actualy written on the console of Lapper:

writeline ( "Distancia_" . $track . "_" . $car . "_" . $username );

Thank you very much for replying, another inquiry ...

To get the distance from the GetStoredValue, is this line okay?

<?php 
openPrivButton
"distancia3",47,0,15,5,5,-1,32,"^7Distancia total: ^6"GetCurrentPlayerVar "Dist" ),"" );
?>

FGED GREDG RDFGDR GSFDG