The online racing simulator
Searching in All forums
(75 results)
LFSCruise
Demo licensed
Do you know what to do in that unwritten: IS_BTN - invalid dimensions ?
LFSCruise
Demo licensed
No no no I need it to be width.
Sliding bar after 0:50 nnes length of 50 Health.
LFSCruise
Demo licensed

<?php 
$Health 
strFormat("{0:0}",GetCurrentPlayerVar"Health" ) );
PrivMsg("".$Health."");
?>

Do you know why not work?


<?php 
openPrivButton
"Health",51,6,$Health,3,3,-1,16,"");
Or
openPrivButton"Health",51,6,strFormat("{0:0}",GetCurrentPlayerVar"Health" ) ),3,3,-1,16,"");
?>

LFSCruise
Demo licensed
Quote from DarkKostas :Demo user. Hmm?

No. It does not have a large bearing on the answer.
Can anyone help? In addition to these issues.
LFSCruise
Demo licensed
But I do not go exactly does that do good work. Can you help?
LFSCruise
Demo licensed
Do you know what coordinates Pit EXIT and Pit ENTRY AS1Y track?

AS5Y track

<?php 
// Pit EXIT
                            
if (((MCI.Info[i].196608) <= -203) && ((MCI.Info[i].196608) >= -65) && ((MCI.Info[i].196608) <= -45) && (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone == 0))
                            {
                                if (((
MCI.Info[i].Direction 180) < 80) || ((MCI.Info[i].Direction 180) > 280))
                                {
                                    
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone 1;
                                  
                                    
InSim.Send_MST_Message("/spec " Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Username);
                                }
                            }
                            if (((
MCI.Info[i].196608) < -65) || ((MCI.Info[i].196608) > -45))
                            {
                                
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone 0;
                            }

                            
// Pit ENTRY
                            
if (((MCI.Info[i].196608) <= -203) && ((MCI.Info[i].196608) >= -158) && ((MCI.Info[i].196608) <= -145) && (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 == 0))
                            {
                                if (((
MCI.Info[i].Direction 180) < 80) || ((MCI.Info[i].Direction 180) > 280))
                                {
                                    
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 1;
                                   
                                    
InSim.Send_MST_Message("/spec " Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Username);
                                }
                            }
                            if (((
MCI.Info[i].196608) < -158) || ((MCI.Info[i].196608) > -145))
                            {
                                
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 0;
                            }
?>

How to make it work and AS1Y on track?
Last edited by LFSCruise, .
LFSCruise
Demo licensed
Where scriptFunctions.cs can change the buttons from MyConfig (myConfig function)? Where can I find?
LFSCruise
Demo licensed
And this will work .lpr files?
LFSCruise
Demo licensed
I do not understand how you can show an example?
LFSCruise
Demo licensed
The code should look like?
LFSCruise
Demo licensed
I need to do three random letters.

Example: ABC or VBY
[Solved]How to get Random Letters
LFSCruise
Demo licensed
Is random numbers

<?php 
SetCurrentPlayerVar
"key"roundToNumRandomNum100000,999999 ) ),) );
?>

Do you know how to do random letters?


<?php 
SetCurrentPlayerVar
"sorts"roundToNumRandomSortsAAA,ZZZ ) ),) );
?>

Last edited by Bass-Driver, .
LFSCruise
Demo licensed
Quote from Krayy :The command is removeprivdelayedcommand used like this:


<?php 
PrivDelayedCommand
("delcom1"DoThisFunction() );
...
...
RemovePrivDelayedCommand("delcom1");
?>


And why not seconds?


<?php 
PrivDelayedCommand
"delcom1",2592000InsuranceClose);
...
...
RemovePrivDelayedCommand("delcom1");
?>

Is this ok?
Last edited by LFSCruise, .
LFSCruise
Demo licensed
Start Debugging Error

Help
LFSCruise
Demo licensed
Do you know how to cancel, cancel, close PrivDelayedCommand?


<?php 
openPrivButton
"InsuranceExtended",1,102,27,4,4,-1,16,"^7Insurance Extended",InsuranceExtended);

Sub InsuranceExtended$userName )

ClosePrivDelayedCommand2592000InsuranceClose);
            
EndSub
?>


Discontinue PrivDelayedCommand above, before, before the time runs out, rather (ahead of time). Below time end.


<?php 
closePrivButton
"Button1&Button2&Button3&Button4");
?>


<?php 
closePrivDelayedCommand
"ClosePrivDelayedCommand( 2592000, InsuranceClose)&ClosePrivDelayedCommand( 300,test)");
?>

Last edited by LFSCruise, .
LFSCruise
Demo licensed
Is it possible to make each player to show only those cars which he has have?

As
ISP_PLC, // 53 - instruction : player cars
LFSCruise
Demo licensed
Can you tell me where to get the file?
LFSCruise
Demo licensed
And from where I can download?
LFSCruise
Demo licensed
Quote from Krayy :If you don't know how to edit the source of Lapper using Visual C#, then you won't be able to modify it.

What exactly do you want to do?

Need to adjust myConfig function.
I am using Visual Studio 2010

Quote from Krayy :If you don't know how to edit the source of Lapper using Visual C#, then you won't be able to modify it.

What exactly do you want to do?

There are only .lpr files. How to edit the source?
Last edited by LFSCruise, .
LFSCruise
Demo licensed
And how is it to edit the button? And what scriptFunctions.cs file?
LFSCruise
Demo licensed
Can you tell me where to find myConfig Sub?

<?php 
CASE "!myconfig":
            
myConfig( );
            BREAK;
?>

Last edited by LFSCruise, .
LFSCruise
Demo licensed
Or LFSLapper can run on VPS Linux?
LFSCruise
Demo licensed
Are you currently can be in the database, the data show the site?


Quote from Gai-Luron :Hello,

you can specify a text file to export via ftp.

Look at ftp features of LFSLapper

Gai-Luron

And you can tell it in more detail?
Last edited by LFSCruise, .
LFSCruise
Demo licensed
For now I want to know just how many players are (will) all in and try to do as work.
LFSLapper but does not record the data into my created table.

Another is that the number of players changing show's website.
Last edited by LFSCruise, .
LFSCruise
Demo licensed
Quote from Krayy :In it's current state, Lapper I'm not sure that Lapper can do what you need. Can you give us some examples of how you would use this table in a Lapper script and then I can see if I can figure out a way for it to what you need.

The SetPlayerVar command requires you to specify a Player name, otherwise it defaults to the current player, so getting a whole list of player names is not possible using that method.

I created a new database table and here LFSLapper only problem that can not read anything.

I need to create a list of players with ID and players UserName to find out the number of players.

Last edited by LFSCruise, .
FGED GREDG RDFGDR GSFDG