Buttons and what your line means openPrivButton is for only driver to see, as against opening a global button for all to see (such as you'd get when race just about to start, etc) drewpitleave05 is unique button id 50 left out of 200 12 down from top out of 200 100 is width of button 10 is height of button 10 is spacing in multiline text 1 is time in seconds button will appear (use -1 if you don't want button to disappear - or use sub routine to close it)
32 is the background colour and orientation (clear, light or dark, with text left, centred or right)
^1 is the colour of the text on the button (in this case Red [see LFSlapper.lpr file for info on what colour is which])
! REMEMBER is the text that will appear on button.
So if you want button (or in this case, proper word would be label) to appear for 5 seconds, you would have
Fairly recently, Gai introduced the option for text to flash, so instead of the 32 after your time, use 40, and so you would now have
For you colored button, this is the code who work, but you need to change to version 184.108.40.206 ( fixed one bug in delayed command )
CatchEvent OnNewPlayerJoin( $userName ) # Player event GlobalVar $CurrRotation; $CurrRotation = 0; Color1( $userName ); EndCatchEvent Sub color1( $userName ) openPrivButton( "drewpitleave02",50,12,100,10,10,-1,32,"^1R E M E M B E R !" ); privDelayedCommand( 1,color2 ); EndSub Sub color2($userName) openPrivButton( "drewpitleave02",50,12,100,10,10,-1,32,"^7R E M E M B E R !" ); $CurrRotation = $CurrRotation + 1; IF( $CurrRotation < 5 ) THEN privDelayedCommand( 1,color1 ); ELSE ClosePrivButton( "drewpitleave02" ); ENDIF EndSub