Currently, if you are in Autocross layout (closed laps, sprint, time attack.. however you call it) trying to spawn multiple cars using JRR_SPAWN, it will only spawn one car and for other cars it gives "Could not join : Start is blocked" message even if you specify separate positions for each car.
It would be nice if we could set IS_JRR packet to ignore this protection. I'm trying to make a dual start system but this protection makes it impossible if I want to use in-game timer and don't want to make custom one.
Hello, in some older version of Lazy in Layout editor there was "Edit" and "Place" function which was very useful. However in current version I cannot see those buttons. Is it possible to get it back, or maybe is there an archive with old versions of Lazy?
SHIFT+T on main entry screen to access lesson editor or list editor
Layouts for lessons must be copied from layout to training folder
SHIFT+T on training screen to view and test newly added lessons
...
Well, I will be honest with you, a lot is wrong with your code.
You messed up commands and you didn't used the catchevent properly.
So I have re-arranged and corrected your code.
I've only tested it to see if it runs without errors now (which is the case), but haven't tested if it does what you want it to do.
- Download the file
- Rename it to sector_times3.lpr
- Put it in the "includes" folder
Thank you, sorry I probably should have clean it up before attaching.. Well I used your corrected version and it works just fine. I still don't really understand how did I use catchevent wrong.. is it because I did not use Sub? Anyway I'm happy, thank you for your help
Hello, is there anyone who could explain to me why this one works
IF (MSHToNum(GetUserStoredValue( $userName."Sector3" )) > 29170) THEN PrivMsg("test"); ENDIF
but these two options don't?
IF (MSHToNum(GetUserStoredValue( $userName."Sector3" )) > 29170 || MSHToNum(GetUserStoredValue( $userName."Sector3" )) < 40000) THEN PrivMsg("test"); ENDIF
IF (MSHToNum(GetUserStoredValue( $userName."Sector3" )) > 29170) THEN IF (MSHToNum(GetUserStoredValue( $userName."Sector3" )) < 40170) THEN PrivMsg("test"); ENDIF ENDIF
Is it possible NOT to build new PB IF PB or SP > WRpb or WRsp?
I searched the whole Lapper folder with bunch of different keywords to PB related, but I cannot find it. Am I being very silly or is this not possible with Lapper?
Right, after a couple of hours I think I came up with the script you want.
Here are the steps to activate it:
-Download the file and rename it to teamchat.lpr
-Then store it in the "includes" folder of Lapper
-Open file "addonsused.lpr"
-Add a line under "General includes" saying: include( "./teamchat.lpr");
-Open file "teamchat.lpr"
-Adjust the path to tofus.txt , to the location it has in your Lapper directory (*)
-Start Lapper and the script should work
(*) Using ".." means you go one directory up from the current directory
Let me know if this is what you want or what you would like to be changed/added (I will help if requests are reasonable, but trying first your self, would be a good thing to learn to code within Lapper)
Sir, this works just perfect! I realize you did not have to do this, so BIG THANK YOU for your time and willingness. You are awesome!
PS: I am actually really amazed, this would take me probably days to figure out. Thank you again, Sir!
Hello, please, could any beautiful soul help me with Team Chat history code?
I want to store ONLY last 10 teamchat messages and then display it using 10 privButtons, problem is I only have made simple Teamchat code using openPrivTextButton and "IF useringroup" method which works fine but thats the best I can do, Im stuck
This isn't too hard to do with Lapper.
Can you please send me the code you already haven, then I am willing to look into your request.
Thank you!
here is the code I am using now
CatchEvent OnConnect( $userName ) # Player event IF( UserInGroup( "tofus",$userName ) == 1 ) THEN
Hello, please, could any beautiful soul help me with Team Chat history code?
I want to store ONLY last 10 teamchat messages and then display it using 10 privButtons, problem is I only have made simple Teamchat code using openPrivTextButton and "IF useringroup" method which works fine but thats the best I can do, Im stuck
Hello,
I have really silly question but I just could not find the answer anywhere..
I'm working on the system that will kick non-active players if more than 12 people are connected. I'm currently at this stage:
CatchEvent OnIdle1( $userName ) # Player CatchEvent $OnIdleTimeout1 = 10; # Idle timeout for OnIdleAction1 in seconds $numConns = GetLapperVar("numconns"); IF ( $numConns > 12 ) THEN privMsg("You are idle and will be kicked soon!"); ENDIF
EndCatchEvent
CatchEvent OnIdle2( $userName ) # Player CatchEvent $OnIdleTimeout2 = 20; # Idle timeout for OnIdleAction2 in seconds $numConns = GetLapperVar("numconns"); IF ( $numConns > 12 ) THEN GlobalMsg( GetCurrentPlayerVar("UserName") . " ^1WAS KICKED FOR NON-ACTIVITY!"); cmdLFS("/kick " . GetCurrentPlayerVar("UserName") ); ENDIF EndCatchEvent
This works but it does not work for spectators, only for players on track.
I even tried to use
IF(GetCurrentPlayerVar( "OnTrack" ) == 0)
but this does not seem to work.
Is it even possible with Lapper?
Hello guys, I have really weird problem with my LFSLapper.lpr file, specifically with "OnConnect" event... I wanted to edit welcome message, but noticed that on Event Onconnect nothing is working. Its like "dead". Just to test it I tried to delete all "OpenPrivButton" lines then saved .lpr file, !reload-ed and guess what: Welcome message appeared like it doesn't care lol. "Accept/Deny" buttons are working, everything is working but where does the "OpenPrivButton" information comes from if I deleted those lines? I'm completely lost noob here someone?
EDIT: tried to use "default" LFSLapper.lpr and same weird things happening.. deleted "OpenPrivButton" lines in OnConnect Event and after reload nothing changes.. how is it possible?
Last edited by LakynVonLegendaus, .
Reason : addinfo